<charliedigital /> Programming, Politics, and uhh…pineapples

13Nov/090

Removing a Dead SharePoint Web Part

If you've deleted the DLL or if you reinstalled a DLL which no longer contains the codebehind class for a user control in a web part, you could end up in a scenario where you have a "dead" web part on the page.  In my case, it prevented the page from loading and resulted in an error because it couldn't load the type.


Don't panic!  The solution is to add a ?Contents=1 to the URL (i.e. http://moss.dev.com/default.aspx?Contents=1), which will allow you to delete the web part from the page.

» Share
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • LinkedIn

About Charles Chen

I'm a senior consultant with Paragon Computer Professionals. In a previous life, I was the lead developer at a startup building what became CSC's FirstPoint.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(All comments are moderated)

No trackbacks yet.