How to find missing web part?

Leonidius picture Leonidius · May 20, 2010 · Viewed 14.8k times · Source

Does anybody know how to find offending web part which causes this error ?

“A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe.”

I have inherited an old SharePoint 2003 portal site which uses custom web parts.

I know what this error means. I also know that each web part must be installed and registred as safe in web.config. The problem is that I don't know which one is missing. I get same error when I'm trying to open the page in FrontPage as well.

Answer

Janis Veinbergs picture Janis Veinbergs · May 20, 2010

Use contents=1 in QueryString to disable/remove WebParts from page that causes errors.