locked
Delete web part on homepage through the site settings? RRS feed

  • Question

  • I deleted a WEb Part from the HomePage of a SharePoint site. I had a Customized View for the web part but now I am getting this error when I go to the site:

    The specified view is invalid.

    Is there any way to delete the view or web part from the home page through the settings or stsadm (or similar tool)? Thank you.

    Victor Palma
    Monday, February 2, 2009 6:07 PM

Answers

  • There is always the webpart maintenance page:  /_layouts/spcontnt.aspx?url=<page path (i.e. default.aspx)>

    The other option is to open it and fix it in SharePoint Designer
    • Marked as answer by Victor Palma Tuesday, February 3, 2009 6:46 PM
    Monday, February 2, 2009 7:01 PM
  • Actually it was this:

    http://VIRTUALSERVERNAME/SUBSITE/_layouts/1033/spcontnt.aspx?&url=/SUBSITE/default.aspx


    Victor Palma
    • Marked as answer by Victor Palma Tuesday, February 3, 2009 6:46 PM
    Tuesday, February 3, 2009 6:46 PM

All replies

  • There is always the webpart maintenance page:  /_layouts/spcontnt.aspx?url=<page path (i.e. default.aspx)>

    The other option is to open it and fix it in SharePoint Designer
    • Marked as answer by Victor Palma Tuesday, February 3, 2009 6:46 PM
    Monday, February 2, 2009 7:01 PM
  • Thanks for the reply!

    I tried your suggestion:

    http://spdevlab/safety/_layouts/spcontnt.aspx?url=default.aspx

    But it bombed out one me:

    The requested page was not found or could not be loaded.   at Microsoft.SharePoint.WebControls.WebPartPageContents.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Troubleshoot issues with Windows SharePoint Services.



    Victor Palma
    Monday, February 2, 2009 7:20 PM
  • I also tried using this URL:

    http://spdevlab/_layouts/spcontnt.aspx?&url=/sites/safety/default.aspx



    Victor Palma
    Monday, February 2, 2009 7:25 PM
  • append the following to the end of the page name and click on enter to open webpart maintenance page.

    ?contents=1

    For example:- http://myserver/sites/mysite/Pages/Default.aspx?contents=1

    From the webpart page maintenace page you should be able to delete the faulty webpart.

    regards
    Sudhakar
    Monday, February 2, 2009 7:43 PM
  • Actually it was this:

    http://VIRTUALSERVERNAME/SUBSITE/_layouts/1033/spcontnt.aspx?&url=/SUBSITE/default.aspx


    Victor Palma
    • Marked as answer by Victor Palma Tuesday, February 3, 2009 6:46 PM
    Tuesday, February 3, 2009 6:46 PM