Saturday, October 20, 2007

How to remove a bad webpart from a page?

Previously, I added a poorly written webpart to my default.aspx page. The consequence of this action is that you aren't able anymore to load the page. In this case, the only thing you have to do is to remove the webpart. Removing the webpart in the webpart gallery doesn't solve this.

Resolution:
Append ?Contents=1 to the webpart page's URL to display the Webpart Maintenance Page. On that page you can delete the malefactor.

Example: http://moss/default.aspx?contents=1

16 comments:

Stark Botha said...

Thanks for posting this. It helped me a lot!

Anonymous said...

Simple and efficient thx matey :)

Anonymous said...

Dude you have no idea how much time you have saved me!!! Thank you SOOOOO MUCH!!!

Bristol.NET said...

You, good sir, are the man.

5 little speckled frogs said...

Worked Great! Thanks!

5 little speckled frogs said...

Thanks man! Worked great.

Click n Creation said...

webpart is still at the page .How can I overcome this??

Anonymous said...

I like the idea, but the bad webpart does not come up in the list and it is for the DEFAULT page.

Anonymous said...

Nice one..

Anonymous said...

It worked great!!! Thank you! Thank you! Thank you!!!

Samsberries said...

Thank you very much for posting this advice - it was very helpful!

Anonymous said...

Thank you kindly, good sir!

Anonymous said...

This is so cool! Thanks.

Anonymous said...

This is so cool!

Thanks.

Yspitz said...

God Bless you.

Anonymous said...

Thanks!!!!!