Marc Lognoul's IT Infrastructure Blog

Cloudy with a Chance of On-Prem

SharePoint 2007: MySolution.WSP has an unsupported extension, and cannot be added to the solution store

Leave a comment

A member of my team busy with SharePoint deployment industrialization came to me with this strange error message resulting from a “usual” STSADM –o addsolution command.

I quickly skip the detailed enumeration of the usual suspects (corrupt CAB, system A-V, path with spaces…) to jump straight to the root cause: STSADM (or the SharePoint API) handles the file name’s extension with case sensitiveness and therefore did not support having the filename parameter’s value containing .WSP while with the actual file name is is .wsp! We adapted the script to rigorously use the same file name as it is in the file system and it finally worked as usual… Wow, SharePoint has some hidden *NIX behavior sometimes 😉

And cut!

Advertisements

Author: Marc Lognoul

Relentless cloud professional. Restless rider. Happy husband. Proud father. Opinions are my own.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s