>

I had a strange experience with MOSS 2007. As I’m working in my Virtual MOSS environment using STSADM.EXE utility, a pop up is being displayed with the following text

STSADM.EXE is not a valid win32 application

I was bit confused and started diagnosing the issue:

– Restarted the IIS

– Restarted the server machine

– Navigated to 12 hive bin and started STSADM from that location

None of the above trials are successful.

Finally I found out that STSADM.EXE has been corrupted, its windows icon is lost and the file size is being shown as zero.

Resolution:

Copy and paste the STSADM.EXE from other machine where SharePoint is installed.

Scenarios where in this issue occurs:

– Whenever we try to update and deploy a WSP Package

– When a new site is being created using STSADM utility

Root Cause:

Tried to figure out what has made the stsadm utility to be corrupted but ended up with no information.

If anyone else has encountered this error and/or has been able to reproduce it, please do post a reply

Advertisements