Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.
I built 3 different custom web parts and after deploying the web part, during addition of the web part to the site it gives this error- Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. I have checked Safe Contol section on web.config for all the web apps. The namespaces and the class names are correct everywhere. Not sure what else to look for. Please advise and any help is greatly appreciated. have been trying this since last few days.
May 15th, 2012 4:00pm

Hi, point to http://social.msdn.microsoft.com/Forums/is/sharepointdevelopment/thread/aa48b54a-b976-4d38-af35-8ead391f298fMVP Office Development, MCP, MCTS SharePoint 2010 Development
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2012 8:56am

I modified the following in web.config 1. < customerrors mode="Off"/> 2. CallStack="true" 3. <trust level="Full" originUrl="" /> Still not able to add the web part. In the logs (12 hive log files) I found this- event id 6611 error failure in loading assembly I checked the web part is present in GAC, the public key token value matches to the one in app.config. Any clues?
May 16th, 2012 11:17am

Hi! More actions Try: IISRESET -NOFORCE all Front Ends Try restart the TIMER SERVICE More Try this article MVP Office Development, MCP, MCTS SharePoint 2010 Development
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2012 11:31am

finally this one worked. http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/a560e34a-db4e-47d8-b8bf-965cf170e9d4/ Thanks for the help Joao.
May 17th, 2012 11:43am

finally this one worked. http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/a560e34a-db4e-47d8-b8bf-965cf170e9d4/ Thanks for the help Joao.
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 11:45am

Hi! Good news, it depend's on the SCOPE of the project, Cool!MVP Office Development, MCP, MCTS SharePoint 2010 Development
May 17th, 2012 12:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics