Skip to content

And Now for Something Completely Different – How capitalization effects STSADM -o addsolution

Earlier this evening I was working on a project and put together a quick batch file to uninstall and reinstall a solution.  I issued the following command (in a batch file):

STSADM -o addsolution -filename XmlWebParts.WSP

and I got back in response:

“xmlwebparts.wsp” has an unsupported extension, and cannot be added to the solution store.

Having never seen this particilar error from STSADM I was intrigued.  I decided to try the following command:

STSADM -o addsolution -filename XmlWebParts.wsp

and received:

Operation completed successfully.

Say what?  It turns out that for some reason STSADM -o addsolution wants the .wsp extension in lower case.

2 Comments

  1. The extension of the name for the cabinet in the InstallWebpart.bat
    should be should be equal to the name of the Cabinetfile itself. In booth case the extention has to be upper or lowecase.

  2. excelent, thanks. cmd case ‘over’sensitive.


Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share this: