Discussion Locked

WSH Remote Scripting Question

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

1 reply

by nikki96

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)

This discussion is closed to new replies.