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

TSUBS04_at_HOTMAIL.COM
Date: 09/09/04


Date: Thu, 9 Sep 2004 05:57:12 -0700

Hi Bob,

Thanks for the information.

However, originally I *did* post this to the inetserver.asp.general group,
and was told to post it to a windows server group instead! (As the problem
could have something to do with a different set of server environment/account
settings).

So if anyone in this group has any clues regarding this issue, then please
feel free to reply...

I will though now post this to the inetserver.iis group.

/,
Jan

"Bob Qin [MSFT]" wrote:

> Hi Jan,
>
> Thank you for posting here.
>
> In this group we typically deal with issues related to migrating Windows
> NT/2ooo domain to Windows 2000/2003 domain, and so on. As for the question
> related to IIS, I would like to suggest that you post your questions to the
> following news groups:
>
> microsoft.public.inetserver.iis
> microsoft.public.inetserver.asp.general
>
> I believe that you can get informative answers there.
>
> Have a nice day!
>
> Regards,
> Bob Qin
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
>
> ====================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ====================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --------------------
> From: "=?Utf-8?B?dHN1YnMwNEBob3RtYWlsLmNvbQ==?="
> <tsubs04@hotmail.com@discussions.microsoft.com>
> Subject: ASP, Wscript.Shell on a Windows 2003 Server Web Edition
> Date: Wed, 8 Sep 2004 23:51:05 -0700
> Newsgroups: microsoft.public.windows.server.migration
>
> 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.
>
> I have also tried to run with Scheduled tasks schtasks which replaces
> AT on
> Win2k3, but the only way I have been able to run it within the ASP is
> to
> create a new account, run the scheduled task under this identity, but
> then
> have to add this account and Network Service and IUSR_Machinename to
> the
> Administrators group. Clearly, I cannot configure the permissions in
> this way
> on a production machine so there is some underlying permissions
> issues that
> needs to be detailed which I'm not aware of.
>
> Any ideas, and workarounds available?
>
> Thanks,
> Jan
>
>
>



Relevant Pages

  • Re: mySQL and ASP, ASP.NET and FP server extension
    ... If you're hosted on a Windows server, you can use MS Access, which is free, ... >>> Indeed, I was not thinking mySQL before, because Windows-based platform ... >>> usually comes with MS SQL and ASP and so on. ...
    (microsoft.public.frontpage.programming)
  • Re: Recommended Windows Hosts
    ... It can be done (although I don't understand all the server side ... How do you do PHP and ASP on same server? ... "Jim Cheshire" wrote in message ... | You never weighed-in with any recommended hosts for Windows Servers. ...
    (microsoft.public.frontpage.client)
  • Re: Recommended Windows Hosts
    ... How do you do PHP and ASP on same server? ... Jimco is ... | You never weighed-in with any recommended hosts for Windows Servers. ...
    (microsoft.public.frontpage.client)
  • Re: Windows SharePoint Services
    ... "An error occurred accessing your windows share point services site files. ... Authors if authoring against a web server. ... > ASP ... It requires Windows SharePoint Services to run on the server. ...
    (microsoft.public.frontpage.programming)
  • Scheduled Task on Windows 2000 Server
    ... I set up one task (using Scheduled Task in windows 2000 Server). ... Administrator ot by Scheduled Task Service. ...
    (microsoft.public.win2000.general)