Error: Cannot Import this Web Part
December 18, 2008 Leave a comment
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.
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