Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Remove corrupt webpart from page

$
0
0

I have restored a 2007 SP Site to 2010. I don't have access to the existing site.

When I hit the home page, I get the following error:
An unexpected error has been encountered in this Web Part.  Error: A Web Part or Web Form Control on this Page cannot be displayed or imported.

I assume this is a custom webpart, that I don't have the dll for, but I'm not sure. When I try to view the web part gallery via site settings, I get an error "Cannot iimport this webpart"

When I try to access the Web Parts Maintenance Page (Adding ?contents=1 to the end of the page url), I get an error - The requested page was not found or could not be loaded.

When I try to remove the webpart using powershell, I'm not able to get this working. I've picked up a script from another blog post, but the issue I am having with it, is that the webpart title and id the script is spitting out is as follows:
Microsoft.SharePoint.WebPartPages.ErrorWebPart.Title
Microsoft.SharePoint.WebPartPages.ErrorWebPart.ID

I'd really appreciate any advice on how to resolve this.


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>