hdts
asked on
Windows Script Host Corrupt
I can no longer run a VBS script on 1 of 8 identical servers. I have 8 identical servers and I cannot run the Sciript on 1 of them. I get a Windows Script Host Error Code 80041002. the sciript is fine as I run it on all identical servers. I believe WHS might be corrupt how can i repair and reinstall it?
also have a look on "GetObject" directive, make sure you passing correct value for it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found the resolution on my own
I do not think the script is corrupt, but may be some object that call by the script is not available in the machine. You can browse thru the skrip looking for "CreateObject" directive. Take out that portion of code to create new vbs file to create the object and run that vbs file. If it give you error than that object is not install or you do not have permission on that object.