Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported

  Asked By: Chaim    Date: Nov 30    Category: Sharepoint    Views: 1905

whenever i am uploading any webpart in my site , one error is coming ie

"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 safeA 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"

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Gopal Jamakhandi     Answered On: Nov 30

I think you need to add your web  part in safe  control.

Check out this link !

www.sharepointblogs.com/.../...art_deployment.aspx

 
Answer #2    Answered By: Chantal Rosa     Answered On: Nov 30

but in which web.config file , we need to add tht safecontrol, i tried every web.config and i made snk file also , but its not working , it is giving the same error

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.

 
Answer #3    Answered By: Kyla Eckert     Answered On: Nov 30

You need to add in the web.config of your portal i.e. virtual server when you install the sharepoint. It is not web.config's which you find into web  extensions folder. Search for web.config on your server then you will get all the config files, select the one which is in your portal directory.

 
Answer #4    Answered By: Alisha Holmes     Answered On: Nov 30

Don't forget...you will probably have to restart IIS after saving your changes, to make them take effect.

 




Tagged: