Friday, 14 March 2014

SharePoint 2013 - Web Part Errors

The following are some of the web part errors that provide the general solution.
Error Message:
 A Web Part or Web Form Control on this Page cannot be displayed or imported
Solution:

Error Message:
Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button" 
Solution:
Go to Visual Studio 2012 > Right Click on Workflow file > Property Window  >  Click on any one of (History List/ Target List / Task List ) ... 
Then, one popup window will open and fill required details.

Error Message:
Failed to extract the cab file in the solution
Solution:

Error Message:
Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain
Solution:
Sandbox solution changed the  true  to false.

Error Message:
The request could not be completed because the specified solution was not found
Solution:
Just edit the page, delete the web part, then re-add the web part to the page.  This fixes the error.

Error Message:
Error validating assembly
Solution:
Set Include Assembly In Package Is false

No comments:

Post a comment