Asp.Net Web Service accessing file on UNC share
From: BrianS (BrianS_at_discussions.microsoft.com)
Date: 02/10/05
- Next message: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Previous message: pavan k sura via DotNetMonster.com: "RE: Forms Authentication: Invalid value for 'encryptedTicket' paramete"
- Next in thread: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Reply: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Asp.Net Web Service accessing file on UNC share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Feb 2005 14:41:04 -0800
I have a web service which uses threading and impersonation to call a STA
object. I have also followed KB article
http://support.microsoft.com/default.aspx?scid=kb;en-us;325791 to impersonate
correctly with STA component.
I put <identity impersonate="true" /> in web.config
Right before my File Access, I confirmed the correct user in
System.security.principal.windowsidentity.current().name
I set correct NTFS permissions on the file. I still get access denied msg
when trying to get this file. I thought code impersonation avoids having to
use Kerberos delegation? Why can't I access this file? (it works on local
webserver)
Regards,
B
- Next message: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Previous message: pavan k sura via DotNetMonster.com: "RE: Forms Authentication: Invalid value for 'encryptedTicket' paramete"
- Next in thread: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Reply: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Asp.Net Web Service accessing file on UNC share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|