Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

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

  Asked By: Chaim Odom         Date: Nov 30, 2006      Category: Sharepoint      Views: 343
 

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"

Tagged:                        

 

4 Answers Found

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

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, 2006       

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, 2006       

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, 2006       

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

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].