RE: aspx page is unable to read/write files that are located on a network share
From: Holly Mazerolle (hollymamsft_at_online.microsoft.com)
Date: 11/30/03
- Next message: Pent: "Re: Manipulation of Base64Strings"
- Previous message: Fred Nelson: "Manipulation of Base64Strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 30 Nov 2003 18:15:34 GMT
Hi,
When accessing remote files from an ASP.Net application, here are your
options:
Run the process as a Domain Account
Use Basic Authentication
Use Anonymous Auth with a domain account as the Anonymous Account
What you are experiencing is a delegation issue. If you are using
impersonation and you are impersonating an account local to the web server,
that account must also exist locally on the file server with the same
password associated with it. Using a domain level account will allow you to
avoid the need for the account to exist locally on the file server.
If your network uses Active Directory you can get this to work as you have
described in your issue by setting up Kerberos delegation.
810572 HOW TO: Configure an ASP.NET Application for a Delegation Scenario
http://kb/article.asp?id=Q810572
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: Pent: "Re: Manipulation of Base64Strings"
- Previous message: Fred Nelson: "Manipulation of Base64Strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|