General discussion


WSH Remote Scripting Question

By bfishell ·
I have tried to run a remote VBS script using the WshRemote object. I get an error at the following line of code:

Set RemoteScript = Controller.CreateScript("test.js", "remoteserver")

I get the following error:
Error: ActiveX compontent can't create object
Code: 800A01AD
Source: M1crosoft VBScript runtime error

Can anyone help me out here? Thanks in advance.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

WSH Remote Scripting Question

by nikki96 In reply to WSH Remote Scripting Ques ...

Which version of ActiveX is installed on that machine? Which version of WSH? Are you sure you have permission to use a COM Object to access the remote server? Are you sure the remote machine supports ActiveX and COM?

There are quite a few things that could be wrong. Check Google's response to the query. Lots of useful links to help you narrow down the cause.

(remove spaces from pasted URL)

Related Discussions

Related Forums