Link to home
Start Free TrialLog in
Avatar of m-h
m-hFlag for United States of America

asked on

stsadm.exe not found with WSS 3.0 installation

I have installed sql 2008, WSS 3.0, and Search Server Express on a new windows installation of Server 2008 x64.
I have backed up a site with stsadm on the old server, and then when trying to restore it on the new server, ran into this issue.   " 'stsadm' is not recognized as an internal or external command, operable program or batch file." stsadm.exe is nowhere to be found on the system.
I've not found alot online to assist in the installation of this util. I've re-installed wss, and I've tried to just downloaded stsadm.exe and place it in the : E:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin  I've added the environment variable, and then tried running it, but get a "Microsoft Windows" error dialog box " stsadm.exe has stopped working  Windows can check for a solution to the problem" with the options to check online and close, or just close.  In the problem details I get this:  
  Problem Event Name:      APPCRASH
  Application Name:      STSADM.EXE
  Application Version:      11.0.5510.0
  Application Timestamp:      3f0fde60
  Fault Module Name:      KERNEL32.dll
  Fault Module Version:      6.0.6002.18005
  Fault Module Timestamp:      49e038c0
  Exception Code:      e0434f4d
  Exception Offset:      0001e124
  OS Version:      6.0.6002.2.2.0.272.36
  Locale ID:      1033

Is there a solution to installing stsadm properly? Since it doesn't seem wss 3.0 is installing it?
Is this a compatibility issue with server 2008 x64? I'm at a loss, and need to get this project moving.
ASKER CERTIFIED SOLUTION
Avatar of zephyr_hex (Megan)
zephyr_hex (Megan)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I had the same problem on one of my dev machines. In my case STSADM just stopped working one day. I just copied the stsadm from another SharePoint install to my dev machine and it did the trick. If it is a new production environment, I would follow up on Zephyr's advise and just reinstall the whole thing. As you are on a x64 environment make sure that you are also installing the x64 version of SharePoint 2007 :p
Avatar of m-h

ASKER

Ok, did the reinstall, thanks Zephyr. Now I'm getting an access denied error when trying to restore....  Completely different problem...  But this Question is resolved.
Avatar of mmmbutho
mmmbutho

I had the same problem.
Solution :
- Using Explorer, do not search "STSADM.EXE" at : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.

- The file is located at :
FRENCH VERSION OF WIN SRV 2008 (x64)
C:\Programmes\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.

ENGLISHVERSION OF WIN SRV 2008 (x64)
C:\Programs\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.

- Register the Path in GAC :
Using cmd windows to open DOS, execute :
Set Path=Path;C:\Programs\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.
or
Set Path=Path;C:\Programmes\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.

Now you can use STSADM.EXE.

In DOS mode, you can also go to the path, using :
CD "C:\Programs\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
or
CD "C:\Programmes\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"

Now you can use STSADM.EXE.