Unable to add selected web part(s)

I stumbled upon this post from Mikhail Dikov who explains 7 reasons why a webpart may show up in the webpart chooser but give the mentioned error when adding it to a page.

None of his steps worked for me, but in the comments, Ian Campbell noted very helpfully to check the WebPart Gallery at site collection level. The gallery contained an old version (when looking at the XML) of the webpart, which still referenced a faulty assembly. I deleted it and re-enabled my feature (thus adding it again) and everything worked fine.

Good luck continuing to figure out if this didn’t work for you!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s