Re: script works in win2000 but not in win2003 by Ray
Ray
Fri Oct 29 17:33:39 CDT 2004
Is that ASP code or client-side code? By the error, it sounds to me that
it's client-side code. Default security settings in IE will not allow the
creation of WScript.Shell.
And can you paste your actual code into the message here? I imagine that's
not your real code, since you seem to have forgotten a share name as well as
a \.
Ray at work
"r3lic76" <r3lic76@discussions.microsoft.com> wrote in message
news:839DD6C4-5206-47AB-8A17-CEBEFF41E5E1@microsoft.com...
>I have an ASP script that calls a VBSCRIPT and it works fine in Windows
>2000
> but not on my new Windows 2003 server. Both servers are version 5.6
> scripting
>
> The error in IE is "Automation server can't create object"
>
> Some of the code in my ASP file....
> var shell = new ActiveXObject("WScript.shell")
> shell.run("wscript \\\\sub.domain.com\script.vbs" .....etc