|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error accessing network resources in ASP.NetHi,
I am trying to run my ASP.Net web app. As part of this app, it needs to create a file in a share in side of the intranet. When I run this app from a machine which is same as the web server, everything works just fine. However when I try the same thing from a remote machine (which is again part of the intranet) I get an error "Access to the path denied". I have the impersonation enabled on my web.config and the integrated windows authentication enabled in IIS config for this setting. My dilemma is, under this setting if I access the web app from remote machine, under whose context will the app run? Any help on this will be very much appreciated Thanks -Siva The network request will be made under your machine's domain account
(domain\machinename$). Siva wrote:
> Hi, Depending on how you've implemented this, you may be encountering an issue > I am trying to run my ASP.Net web app. As part of this app, it needs > to create a file in a share in side of the intranet. When I run this > app from a machine which is same as the web server, everything works > just fine. However when I try the same thing from a remote machine > (which is again part of the intranet) I get an error "Access to the > path denied". I have the impersonation enabled on my web.config and > the integrated windows authentication enabled in IIS config for this > setting. My dilemma is, under this setting if I access the web app > from remote machine, under whose context will the app run? > with delegation of credentials. In fact, when it works from the console but not from a remote box, that's almost always the cause. One of the types of Windows authentication is NTLM. NTLM does not allow for delegation of credentials. If you authenticate via a client to the Web server and then the Web server attempts to pass your credentials to another computer, that second "hop" will fail. The solution to that is to use Kerberos and enable delegation. 810572 How to configure an ASP.NET application for a delegation scenario http://support.microsoft.com/default.aspx?scid=kb;EN-US;810572 -- Jim Cheshire ================================ Blog: http://blogs.msdn.com/jamesche Latest entry: Digging into Objects Describes the details of digging into memory usage with the debugger.
Other interesting topics
PreInit event in usercontrol
Select string building in C# and ASP.NET HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\UserData' do Unable to create the Web (W2003Std + Framework 2.0) remotely download trial version of vs2005 Finally moving from classic asp to ASP.NET 2.0 w/Visual Studio 2005 ..HtmlControls.HtmlInputFile.Saveas(filename) not overwriting Application_Error does not fire need help to convert to VB 101 Question - Passing a value from one page to another |
|||||||||||||||||||||||