RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition
From: Bob Qin [MSFT] (bobqin_at_online.microsoft.com)
Date: 09/09/04
- Next message: Kewlhand: "NT4 Migration to 2k3"
- Previous message: Bob Qin [MSFT]: "RE: 98 users not getting home directories"
- In reply to: tsubs04_at_hotmail.com: "ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Next in thread: TSUBS04_at_HOTMAIL.COM: "RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Reply: TSUBS04_at_HOTMAIL.COM: "RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 09 Sep 2004 12:08:13 GMT
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
- Next message: Kewlhand: "NT4 Migration to 2k3"
- Previous message: Bob Qin [MSFT]: "RE: 98 users not getting home directories"
- In reply to: tsubs04_at_hotmail.com: "ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Next in thread: TSUBS04_at_HOTMAIL.COM: "RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Reply: TSUBS04_at_HOTMAIL.COM: "RE: ASP, Wscript.Shell on a Windows 2003 Server Web Edition"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|