If you have a webpart that gives you errors, so you can’t even see your web part page making you unable to edit it, then theres a little trick.
You can remove Web Parts from pages, even if you can’t go into edit mode.
Simply add :
?contents=1
to the url for the page that does not work.
Example: http://code-journey.com/Pages/Default.aspx?contents=1
Now you can Click on “Check Out” the page and then check the Web Parts that are giving you trouble and click “Delete” to remove them.
Related posts:
- Create Simple SharePoint Hello World WebPart And Add It To a Web Part Page
- http://
is already routed to the Default zone of another application. Remove that mapping or use a different URL. - Make a SharePoint Application Page with CodeBehind
- Add A Web Part To NewForm.aspx, EditForm.aspx And DispForm.aspx (Edit Page missing in menu)
- The security validation for this page is invalid. Click Back in your Web browser…
Simple but very useful. Thanks!