none
Problem with Unsafe webpart

    Question

  • Hi guys, I have created a webpart that shows in the main page. Also I wanted to remove some items in that page, so I went to the SharePoint Designer to do that. Unfortunately I get this message after I made a double-clik on the default.aspx:

    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.

    How can I solve that? I don't know why if this is unsafe, my webpart works ok.

    Kind Regards
    Wira!
    Wednesday, June 24, 2009 8:57 AM

Answers

  • I don't know why it worked and doesn't work anymore if you didn't change the web.config, but anyway, here is how to fix it.
    Serge Luca; blog: http://www.redwood.be
    • Marked as answer by wiracocha Wednesday, June 24, 2009 9:13 AM
    Wednesday, June 24, 2009 9:05 AM

All replies

  • I don't know why it worked and doesn't work anymore if you didn't change the web.config, but anyway, here is how to fix it.
    Serge Luca; blog: http://www.redwood.be
    • Marked as answer by wiracocha Wednesday, June 24, 2009 9:13 AM
    Wednesday, June 24, 2009 9:05 AM
  • Hey man, thanks, actually it was not my webpart, but other webparts (I saw 10 records as "ErrorWebpart"). I deleted them and it works now.

    Thanks!
    Wednesday, June 24, 2009 9:14 AM