Re: access files on a UNC virtual directory
From: WenJun Zhang[msft] (v-wzhang_at_online.microsoft.com)
Date: 01/11/05
- Next message: Rasmus: "Re: access files on a UNC virtual directory"
- Previous message: David Wang [Msft]: "Re: IIS 6.0 on Win2k3 - User-defined error page not being sent to"
- In reply to: Rasmus: "Re: access files on a UNC virtual directory"
- Next in thread: Rasmus: "Re: access files on a UNC virtual directory"
- Reply: Rasmus: "Re: access files on a UNC virtual directory"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 06:43:07 GMT
Hi,
When you are using server.MapPath to access the UNC share via FSO in
ASP, the 'Connect As' account set in IIS mmc doesn't impact here. You
have to grant the ASP page's execution context with permission on the
share folder.
For example, if anonymous access is enabled, the ASP page is running
with IUSR_<machinename> account by default. This is a local account
which shouldn't have the permission on remote share. Therefire you
should change the anonymous account to a domain account.
To perform a test, you can temporarily disable anonymous access and
other authentications, only enable Basic authentication on the ASP
application, then access with your domain\admin credential to test if
the script can work properly.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security
- Next message: Rasmus: "Re: access files on a UNC virtual directory"
- Previous message: David Wang [Msft]: "Re: IIS 6.0 on Win2k3 - User-defined error page not being sent to"
- In reply to: Rasmus: "Re: access files on a UNC virtual directory"
- Next in thread: Rasmus: "Re: access files on a UNC virtual directory"
- Reply: Rasmus: "Re: access files on a UNC virtual directory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|