views:

409

answers:

3

I created a couple of web parts using the Visual Studio 2008 SharePoint Web Part template. However, when I deploy it says everything has deployed successfully but, when I try to add the web parts they are not available in the add web part dialog from within my portal...

Any thoughts..? I did this with another web part project and didn't have this issue...

The only difference I see is that this project has two web parts in it and the other had one...

+1  A: 

There should be a feature for the solution. VSeWSS normally activates the feature, but it is possible that it didn't get activated. I would check the list of features, it should be fairly obvious which is yours and whether or not it has been activated.

Todd Friedlich
where should I check to see if the feature is installed..? In the 12 hive..?
Jason
Site Actions > Site FeaturesCheck to see if they exist at all, and then check to see if they are "Active"
Todd Friedlich
A: 

Another issue I have had, during a manual install of the webpart, was that there was an error with the webpart that was not picked up in the developement environment. Check the ULS logs for when the feature was activated and see if there is an error there that says why the webpart is not showing up.

Nat
A: 

Check if your web part is defined as public (Public in VB)

internal is default (Friend in VB)

this is the classic mistake to make here :-)

Anders Rask

Anders Rask