Link to home
Start Free TrialLog in
Avatar of hdts
hdtsFlag for United States of America

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?
Avatar of khairil
khairil
Flag of Malaysia image

Hi,

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.
also have a look on "GetObject" directive, make sure you passing correct value for it.
ASKER CERTIFIED SOLUTION
Avatar of hdts
hdts
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
Avatar of hdts

ASKER

Found the resolution on my own