Remove faulty web parts from a SharePoint page

Published on
3,545 Points
2 Endorsements
Last Modified:
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url
Sometimes a web part can cause a page to break inside SharePoint. This is usualy caused by either code errors inside the web part or duplicate web parts added to the page. If this do happen you might receive "Object reference not set to an instance of an object" error
In order to rectify the issue you need to remove the duplicate or faulty web part in order to successfully load the page. To achive this you must add "?contents=1" to the end of the page url(Example : http://mysiteurl/SitePages/home.aspx?contents=1) , this will give you option for the page where you can close,reset and delete web parts.

WebParts.JPGSelect the suspect web part by ticking the selection box next to the Web Part Title. Click on "Delete" to remove the web part from the page.

Once done the page should load successfully.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Join & Write a Comment

In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month