Hi Kim,
By default, ASP.NET is running with ASPNET. It is a local account and, by
default, has no access to network resources. The actual account with which
your request is processed is determined by the ASP.NET worker process
settings in machine.config and virtual directory security settings in IIS
manager console.
Check the virutal directory security setting in IIS manager console. What
type of authentication you use? Did you enable impersonation in the
web.config file of the asp.net web application? You can take a look at the
following article for more information about ASP.NET impersonation:
306158 INFO: Implementing Impersonation in an ASP.NET Application
http://support.microsoft.com/?id=306158
You can use the Token Dump component from the MSDN magazine article to
check the token dump information in detail. It can give a clear view of how
ASP.NET security model works :
ASP .NET Security Issues (by Keith Brown)
http://msdn.microsoft.com/msdnmag/is...y/default.aspx
Regards,
Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Kim Kragh" <>
>Subject: File I/O on a network drive from asp.net
>Date: Mon, 2 Feb 2004 12:41:15 +0100
>Lines: 13
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 195.41.222.129
>Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP11.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:206876
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi.
>
>I've tried to save, move files from asp.net (using the FileInfo object). It
>works fine locally, but I can't make it work on network drives. I have
>granted the aspnet user all required permissions, but still with no luck.
>
>Should I tweak something else (policy or app setting)?
>Can I access a NAS box running Storage Server 2003 as an active directory
>user?
>
>Thanks in advance!
>
>
>