Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Wscript.CreateObject error on ASP page

Wscript.CreateObject error on ASP page

Forum Windows XP : Windows XP General Discussion - Wscript.CreateObject error on ASP page

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

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

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Wscript.CreateObject error on ASP page
Go to:

There are 519 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them