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:
- http://
is already routed to the Default zone of another application. Remove that mapping or use a different URL. - Create Simple SharePoint Hello World WebPart And Add It To a Web Part Page
- 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!
Thanks for sharing this simple excellent tips!

it’s help me a lot!
This is amazing! I was told to delete the page and start again after working on it for 3 days! Thank you so much for posting this tip
Yeah that’s the web equivalent of “Please reboot your computer and call again. Have a nice day!”