Advertisements

Error: Cannot Import this Web Part


If you get the following error message when attempting to add a web part to a page, it’s not that helpful is it. This post on Microsoft TechNet (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2362666&SiteID=1) contains a good response from MVP Robert Bogue which details some things to try to resolve the issue, however, it can be tough to locate the source of the problem without much detail.

image

A good way to get additional detail around the error message is to do the following.

Go to Site Settings > Galleries > Web Parts

And click on the web part linked title. This will go to the web part preview. When a web part is working fine, the web part will display in the page. However, for broken web parts that give the mysterious error shown above, it will give you the actual error itself, as shown below, provided you have your debug settings on correctly within your web.config

clip_image001

Advertisements

About Geoff Varosky
Geoff Varosky is a Senior Architect for BlueMetal Architects, based out of Watertown, MA. He has been architecting and developing web based applications his entire career, and has been working with SharePoint for the past 13 years. Geoff is an active member of the SharePoint community, Co-Founder and Co-Organizer of the Boston Area SharePoint Users Group, co-founder for the Boston Office 365 Users Group, co-organizer for SharePoint Saturday Boston and speaks regularly at SharePoint events and user groups.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: