Deployed Web Part not showing up in 'Web Part Gallery: New Web Parts'

naspinski picture naspinski · Oct 16, 2008 · Viewed 16.8k times · Source

I took a wsp file, and did my stsadm -o addsolution like usual. Then I went into central administration->solution management and it showed up just fine. Then I deployed the web part, no problems so far.

The problem is when I go to add it to the webpart gallery (Web Part Gallery: New Web Parts) usually the web part is in the list, I check the box next to it and click populate gallery but it is not showing up in the list? Could I be missing something in my manifest.xml to cause this? I just wrote and deployed another web part this exact same way and it went fine. Also, I wrote a dummy webpart that does nothing but print "working" and tried it with that getting the same results.

Any ideas?

Answer

naspinski picture naspinski · Oct 17, 2008

wow... turns out that all I was missing was a 'public' declaration on my class!?!

I feel like an idiot. But also, I did have to manually delete it to get it recognized. Thanks everyone!