Using stsadm to add Solution

Hello everybody,

I got a very confusing stsadm error message when trying to add a solution to the solution store. And here is the command I use:

stsadm -o addsolution -filename <wsp file>

The resulting error message goes like this:

Not found

<wsp file name>: The solution installation failed.


The most interesting part on this problem is, that the solution installation works fine on several machines, real and virtual, but failsfor one machine with the above error message.

Is there a permissions issue here or could it be an issue with the length of a file name?

Thanks in advance and best regards,

Claus

May 13th, 2009 10:41am

Hi Claus,

Do you include the full file path to the wsp in the filename attribute? For example:

stsadm -o addsolution -filename "c:\deploy\MySolution.wsp"

Dave
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2009 10:53am

Hi Dave,

no. But the command is executed inside of the folder where the wsp file is situated. I have to make some addition because I just have visited the administrator for that machine. It seems WMI is not working correctly on this farm and stsadm fails writing entries to the ULS log files. So, it currently looks like a configuration error.

Claus
May 13th, 2009 11:24am

You may need to re-start the timer service if no entries are being logged in the ULS logs.
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2009 1:02pm

The account your logged in as must have write permission to the database

May 13th, 2009 1:31pm

Hello Dave, hello Richie,

thanks for your replies. The administor has fixed the WMI problem. It now deploys correctly. I will ask him for the solution and kepp you informed here as soon as I know it.

Thanks again and best regards,

Claus
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2009 3:09pm

Hello I am facing similar issue.

Can you please tell me how you rectified it?

November 19th, 2010 10:43am

When you specify the file name please use the full path for example c:\documents\YourWSPFile.wsp as follows 

stsadm -o addsolution -filename  c:\documents\YourWSPFile.wsp

thanks 

Tesfaye 

Free Windows Admin Tool Kit Click here and download it now
August 29th, 2015 8:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics