Tuesday, 17 April 2012

Can't open the default.aspx page in SharePoint 2007 Designer

Hi I tried to open my SharePoint 2007 default  page in the SharePoint page but it can't open the page.
It gives the following error.

"soap:ServerServer was unable to process request. ---> A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered as safe on this site. You may not be able to open this page in an HTML editor that is compatible with Microsoft Windows SharePoint Services, such as Microsoft Office SharePoint Designer. To fix this page, contact the site administrator to have the Web Part or Web Form Control configured as safe. You can also remove the Web Part or Web Form Control from the page by using the Web Parts Maintenance Page. If you have the necessary permissions, you can use this page to disable Web Parts temporarily or remove personal settings. For more information, contact your site administrator."

By do the simple steps we can clear this one
  1. Open you home default page or faulty page in the browser by: http://site:portnumber
  2. add "?contents=1"  like "http://site:portnumber?contents=1"
  3. Now you can view the webpart maintenance page
  4. Close the unwanted and error webpart
  5. Now you can open the page in sharepoint designer.
Happy Coding :)