Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.
After upgrading our Team Foundation Server environment to 2010, we got the following error on the project dashboard web page on the TFS2010 project portal.
“Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.”
I tried a lot of things (reinstalling the WSP solution, adding the controls to the web.config file,…) before I found this simple solution:
After executing "Repair Connection" on all the Sharepoint Applications in the Team Foundation Server Administration Console, everything worked fine.