Posts
1150
Comments
891
Trackbacks
1
Sharepoint Designer 2007: 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

If you get the following verbose error when trying to open a site in Sharepoint Designer 2007:

“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.”

Under the account of a user that has rights (usually the admin account), go to the URL and add “?contents=1” to it.  This will list all web parts that have been added at any particular point.  If you have a web part that you added at one point and deleted it through the URL, it still ‘exists’ and so if it wasn’t a safe part, or is no longer listed in the web.config as a safe part, it will be listed as an ‘Error’ web part.  Select it/them and delete them, and then you should be able to open the page in Sharepoint Designer as expected.

posted on Sunday, March 29, 2009 9:30 PM Print
Comments
Gravatar
# re: Sharepoint Designer 2007: A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is
Aaron Erickson
3/29/2009 11:30 PM
Problem #1 - you are using Sharepoint
Problem #2 - see problem #1

Sharepoint is evil. Why should you expect anything else?
Gravatar
# re: Sharepoint Designer 2007:
jdn
3/30/2009 12:21 PM
Blah blah blah.

Sharepoint 2007 is actually pretty decent.
Gravatar
# re: Sharepoint Designer 2007: A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is
Diego
7/20/2009 9:25 AM
Aaron is right. Sharepoint IS evil.

The answer to that problem at http://nikcodes.com/2008/06/10/sharepoint-designer-soap-server-error/

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 4 and 1 and type the answer here: