Running a DOS command using IIS, receive "Access Denied" error
From: 3dot14 (3dot14_at_discussions.microsoft.com)
Date: 02/28/05
- Next message: Nate Hekman: "Re: "Cannot find server or DNS Error" with https"
- Previous message: Miha Pihler [MVP]: "Re: Certificate Renewal"
- Next in thread: David Wang [Msft]: "Re: Running a DOS command using IIS, receive "Access Denied" error"
- Reply: David Wang [Msft]: "Re: Running a DOS command using IIS, receive "Access Denied" error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Feb 2005 13:47:08 -0800
Hi all!
Here is my situation in a nutshell:
I have three computers. Server, Source and Destination.
All Source and Destination each has a shared folder, say "\shared". I
personally have permissions into both of them, but they are not accessible to
everyone.
I have a batch file on Server, that does something like (it includes a
couple more commands, but the main purpose is copying files)
"copy \\source\shared\poo.txt \\destination\shared\"
(the batch file works, because if I manually launch it, it completes its
task no problem)
I have been trying to run this batch file on the server.
I have write Server.CreateObject (WScript.WShell) and 3rd party component
(AspExec from http://www.serverobjects.com/products.htm#free)
But seems they have the same problem. They receive "access denied" error
when accessing the remote directories.
Is there a way I can enforce IIS to run the bat file with my authentication?
Thanks in advance!
- Next message: Nate Hekman: "Re: "Cannot find server or DNS Error" with https"
- Previous message: Miha Pihler [MVP]: "Re: Certificate Renewal"
- Next in thread: David Wang [Msft]: "Re: Running a DOS command using IIS, receive "Access Denied" error"
- Reply: David Wang [Msft]: "Re: Running a DOS command using IIS, receive "Access Denied" error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|