Bad webpart causing SharePoint site to break

Bad webpart causing SharePoint site to break

I ran across a discussioni online today (can’t recall where it was, unfortunately) that mentioned what to do when you put a SharePoint web part (2007 or higher) on a site and it breaks, or the web part itself is faulty. You’ll usually get an error page that you can’t get past. The solution is rather easy…append “?Contents=1” to the end of the site url. For example, if your site that you put the web part on is “http://server/path/site/subsite/SitePages/Home.aspx”, your new URL will look like this:

http://server/path/site/subsite/SitePages/Home.aspx?Contents=1

You’ll be taken to the Web Part Page Management page for that site, where you can remove the selected web part and restore the page’s functionality.

Awesome!

Comments are closed.