Access denied to network share using Windows Authentication
From: RayS (rspencer@unumprovident.com)
Date: 03/25/03
- Next message: Chad Nelson: "Web Login Page (Beginner)"
- Previous message: Chris Blanco: "Re: Managed to Unmanaged security."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: rspencer@unumprovident.com (RayS) Date: 25 Mar 2003 07:06:12 -0800
I have an ASP.NET application with the following settings:
IIS:
Anonymous access OFF
Integrated Windows authentication ON
Web.config
<identity impersonate="true"/>
When I try to access a file on a network share using:
FileStream fileStream = new FileStream( path, FileMode.Open,
FileAccess.Read );
I can access the file with no problem when I run the application in
the Visual
Studio IDE on my PC or when I access the web application directly from
Internet Explorer on my PC.
When I log onto another PC, access the site and try to access the
file, a network login dialog pops up (this does not happen when I run
on my PC). Completing the dialog box has no effect (it keeps popping
up) and when I click Cancel on the dialog box I get a
Systems.UnauthorizedAccessException. The settings for IE are the same
on both machines
I have verified that IPrincipal in System.Web.HttpContext.Current.User
is the same in both cases.
Any thoughts would be greatly appreciated.
- Next message: Chad Nelson: "Web Login Page (Beginner)"
- Previous message: Chris Blanco: "Re: Managed to Unmanaged security."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|