How To Remove a bad Web Part – SharePoint

When we develop a web part, we definitely face errors, but this error may be prevent you from loading the page and all you can see is an error! Helpful I know! Lets discover how to remove a bad Web Part – SharePoint

Anyway the problem is, we want to remove the web part from the page, but we can’t even edit the page at all.

Solution:

Add to the URL this QueryString?Contents=1

If this is your URL http://servername/pages/home.aspx then add to it the QueryString to be http://servername/pages/home.aspx?contents=1

You will then see the page as below: now you can close or delete the bad web part.

Bad web part

Select or remove a bad Web Part – SharePoint

 

I haven’t specified the SharePoint version is it works from SharePoint 2007 .. 2010 & 2013 but not sure about more previous versions but who still uses it anyway !

Hope that helps.

Share this on...

Rate this Post:

Share: