<

Remove faulty web parts from a SharePoint page

Published on
3,593 Points
393 Views
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
?contents=1
Problem
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
Problem.pngSolution
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.
 
2
Comment
0 Comments

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Join & Write a Comment

How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month