Wscript.CreateObject error on ASP page

Tech-Archive recommends: Speed Up your PC by fixing your registry



The statement in an asp page:

dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")

now gives this error:
VB err= 424,Object required

If I use setobjShell=Server.CreateObject("WScript.Shell"), I get the error
VB err= 5,Invalid procedure call or argument


I believe it stopped working in July 2004 after a security update. I have
re-registered the appropriate dlls and ocxs.

Does anyone have an idea? I am trying to use this object so that I can
execute a batch file that was created earlier in the program.

Thanks
.



Relevant Pages

  • Re: setting an environment variable to the current IP
    ... Sorry the first answer was for ASP ... If Err 0 Then ... for each IPConfig in IPConfigSet ... Handy if it works on 2000/XP/2003 ...
    (microsoft.public.scripting.vbscript)
  • get
    ... The statement in an asp page: ... VB err= 424,Object required ... I believe it stopped working in July 2004 after a security update. ...
    (microsoft.public.windowsxp.general)
  • Re: COM and ASP
    ... CRequestDictionary::ParseInputin ASP source code where a memory ... You can put a debug ASP.dll into an otherwise ... retail image to continue getting debugout msgs. ... 0x83d97da8: ASP: ParseInput failed, err = 1009 ...
    (microsoft.public.windowsce.embedded)
  • Re: OT: doing business in Dubai?
    ... Just about to wander into a meeting, but I'll mail you when I wake up. ... Err, I mean finish. ... Dave Jennings ... Prev by Date: ...
    (uk.rec.motorcycles)
  • Re: So far [OT] you wont believe it
    ... >> on rational argument is, err, rational argument. ... Ho hum. ... Giles ... Prev by Date: ...
    (uk.comp.sys.mac)