STSDEV: Change Location for stsadm.exe

May 13, 2008 at 3:08 PM
I'm getting this error on the server (64bit) i'm developing on:

     Error 2 The command ""C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe" -o execadmsvcjobs" exited with code  3. 

The probelms is, STSDEV is trying to use the above directory to launch stsadm.exe to deploy.
I need to tell STSDEV to use "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe" instead. Is there anyway to do this? Can i somehow change the Microsoft.SharePoint.targets file that is created in the DeploymentFiles folder to point to that directory, and if so how?

Any help greatly appreciated.

May 15, 2008 at 10:48 PM

Doh!!...Stupid me!

I didn't look at the Microsoft.SharePoint.targets file properly - it was right at the top. Issue solved.

Aug 29, 2008 at 9:03 PM
Edited Aug 29, 2008 at 9:18 PM
I propose to change the path to :
"%CommonProgramFiles%\Microsoft Shared\web server extensions\12\bin\stsadm.exe" to support all languages
"$(CommonProgramFiles)\Microsoft Shared\web server extensions\12"