Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Cannot add new web part to web part gallery

  Asked By: Josue Terry         Date: Aug 28, 2003      Category: Sharepoint      Views: 460
 

I'm trying to add additional web parts to our web part gallery, By
Selecting Site Settings > Manage Security and Additional Settings
> Manage Web Part Gallery > New Web Part.

Now as far as i know, this should then display a list of all the web
parts available, however it simply gives the error:

"Cannot populate the Web Part Gallery. There are no Web Parts
registered in the <SafeControls> section of the ASP.NET
configuration file (web.config) for this site."

Has anyone else come accross this and does anyone have a solution?

Thanks in advance.

Tagged:              

 

3 Answers Found

 
Answer #1       Answered By: Jake Harvey          Answered On: Aug 28, 2003       

I´ve heard about registering the web  part at the command line, I
didn´t find the article I read about it, but maibe, it´s more easy to
you find with this information.

 
Answer #2       Answered By: Ricky Kennedy          Answered On: Aug 28, 2003       

Please post the content of the web.config in the root directory of your Web
site.

 
Answer #3       Answered By: Robin Sparks          Answered On: Aug 28, 2003       

Here’s the Web.config file  from C:\Inetpub\wwwroot\wpresources.



To my knowledge, this has not been changed by anyone since SPS 2003 was installed.



<configuration>

<system.web>

<customErrors mode="On" />

<httpHandlers>

<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

<add verb="*" path="*.asmx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

<add verb="*" path="*.aspx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

</httpHandlers>

</system.web>

</configuration>

 
Didn't find what you were looking for? Find more on Cannot add new web part to web part gallery Or get search suggestion and latest updates.


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