ASP, Wscript.Shell on a Windows 2003 Server Web Edition

TSUBS04_at_HOTMAIL.COM
Date: 09/08/04


Date: Wed, 8 Sep 2004 07:39:10 -0700

Hi everyone,

We're in the progress of upgrading our intranet environment from IIS 4 NT4
Servers to Windows 2003 Server and IIS6 (Web Edition), and will therefore
migrate the current ASP code to this new environment.

In one of the ASP pages, a scheduled task is set up via Wscript.Shell and
while it's working under IIS4 it doesn't work in IIS6. No error messages,
exceptions are raised in IIS, ASP or the eventlog. In fact the
Wscript.Run("AT.EXE 15:24:00 /interactive /NEXT:8 C:\program
files\stoppressexe\OurExectubable.exe 234"), returns a value indicating it
has run successfully. However, no task is every scheduled. When trying to run
Wscript.Run("Notepad.exe") in the same ASP page, it runs successfully though.

Anonymous access is disabled on the site, and the web-application is running
under the defaultAppPool, which is running under the Network Service identity.

Any ideas, and workarounds available?

Thanks,
Jan



Relevant Pages

  • Re: Error loading ISAPI Extension (Crash/Hang Agent)
    ... Gareth ... > IIS stops running). ... > Compatibility Mode to IIS6 native worker process isolation mode. ... > We are using the IIS Crash/Hang agent on two of our servers. ...
    (microsoft.public.inetserver.iis)
  • Re: Migration Issues from ASP website to IIS6
    ... ASP is definitely supported by IIS6. ... IIS is not sending detailed error messages because that is a security ...
    (microsoft.public.inetserver.iis)
  • Re: Javascript within IIS 6.0
    ... Two new security features in IIS6 may be involved. ... something else unrelated to IIS. ... In other words, if your pages just run Javascript on the client-side, then ... server-side, like ASP, then you will need to first enable ASP in Web Service ...
    (microsoft.public.scripting.jscript)
  • Re: ASP IIS Crashing...
    ... >and ASP crashing that this needs to be fixed and soon. ... Troubleshoot ASP in IIS 5.0 ... Again, what bug? ... I've been managing Windows 2000 Servers in an ISP hosting environment ...
    (microsoft.public.inetserver.iis)
  • Re: Error loading ISAPI Extension (Crash/Hang Agent)
    ... You have a permissions issue. ... denied and why IIS6 stops loading (failure to load any ISAPI Filter means ... We are using the IIS Crash/Hang agent on two of our servers. ...
    (microsoft.public.inetserver.iis)

Loading