General discussion

Locked

WSH Remote Scripting Question

By bfishell ·
Hello,
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.

1 total post (Page 1 of 1)  
| 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.

http://www.google.com/search?q=%22ActiveX+component+can%27t+create+object%22+WSH&hl=en&lr=&ie=UTF-8&oe=UTF-8

(remove spaces from pasted URL)

Back to Networks Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums