Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web part wont appear

Status
Not open for further replies.

johnyperu

Programmer
Jan 31, 2005
10
GB
Hi,

I have installed my web part in the gac ( when that did not work i tried the bin) but it never appears in the sharepoint front end. (I am trying to add it into the gallery page by using the new button). I have done an iis reset; its strong named, and it is in the web config file .... what am i missing ??

thanks
 
I had the same problem for ages....basically mine was that i wasn't declaring it properley in the web.config file. First of all make sure that it is in the correct web.config file (the one in the root of your virtual directory).
Then make sure you have the correct information in the web.config file. e.g. mine is like so:

<SafeControl Assembly="NewWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=532202dfbbecf17f" Namespace="NewWebPart" TypeName="*" Safe="True" />

The above information must match exactly with your webpart otherwise the webpart simply will not show. To check the correct public key token i downloaded Reflector. You can drag the dll file into Reflector and it will give you information about the dll.

Hope this helps

Sal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top