Loading...

INTERNAL: “The type ‘WA.Common.ListBasedWebPart’ is defined in an assembly that is not referenced.”

Title

INTERNAL: “The type ‘WA.Common.ListBasedWebPart’ is defined in an assembly that is not referenced.”

Description

INTERNAL: “The type ‘WA.Common.ListBasedWebPart’ is defined in an assembly that is not referenced.”

Please wait...
The following error message appears when creating a QuickApps Project Dashboard site:
"c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\25ea9520\d2d60693\App_Web_v4.master_-1910632061.g_m_-7dl.0.cs(5109): error CS0012: The type 'WA.Common.ListBasedWebPart' is defined in an assembly that is not referenced. You must add a reference to assembly 'WA.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2b4b09f1c57c8f0b'. 
Troubleshoot issues with Microsoft SharePoint Foundation. 
Correlation ID: 45d1b71e-bf0a-4299-a4d1-76ae4c43866c 
Date and Time: 9/20/2014 12:00"

Cause

This issue is with the master page and not with the installation of QA. Using SharePoint Designer, in the master page xml, you will need to add a statement at the top of the xml that defines the Quick app webpart.  

Resolution

WORKAROUND:

The easiest way to get the needed statement is to drop the web part needed on a page from the gallery and then open that page in SharePoint Designer.  The include statement needed will be at the top of the page's xml.  Copy the statement and add it to the top of the master page's xml. It should something as the following:
<%@ Master language="C#" %>   
... 
<%@ Assembly Name="WA.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxx" %> 
...

Defect ID

This issue is with the master page and not with the installation of QA. Using SharePoint Designer, in the master page xml, you will need to add a statement at the top of the xml that defines the Quick app webpart.  

Leave a Reply