Ashley
Blog - Robert Bogue [MVP]
Rob's Notebook
SharePoint Calendar
Thor Projects LLC - Welcome : Blog - Robert Bogue [MVP]

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

Posted by Robert L. Bogue on Monday, 21 Jan 2008 09:26 | 1 Comments | Professional

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.

 

Comments

Tuesday, 16 Sep 2008 05:39 by willy
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.

Leave your own comment

Name

Url

Email

Comments