Re: Account using when call File.Exists() in ASP.NET

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steve C. Orr [MVP, MCSD] (Steve_at_Orr.net)
Date: 02/22/05


Date: Tue, 22 Feb 2005 01:50:29 -0800

By default the ASPNET user account will be used. This account is locked
down and does not have access to most directories by default.

Note: In Windows Server 2003 the "Network Service" user account is used
instead of ASPNET.

-- 
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tony Cheng" <sdasd@fdfsds.com> wrote in message 
news:OCElp7LGFHA.2932@TK2MSFTNGP10.phx.gbl...
>I want to know which account will be used when File.Exists are called in 
>ASP.NET ? Thx
> 


Relevant Pages

  • Re: Access denied (.NET website was running until...)
    ... Have you checked and made sure that the ASPNET user account has access? ... > tested and FTP site access works fine. ... > Windows 2003 server and MS SQL Server fine. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Limited ASPNET system resources?
    ... Are there some system resources which the ASPNET user account gets less ... I'm running into a problem with a web service that I'm working on. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: open file across network
    ... The default ASPNET user account doesn't have network permissions. ... > but it works ok if I provide a mapped path: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: easy sql connection
    ... the ASPNET user account not the user account you use to log to Windows. ... > 'Now we attempt to open the connection ... SQL Server does not exist or access ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to Identify whether Dll is running From ASP.NEt or Window Appl
    ... Most web apps run under the ASPNET user account. ... > I had Requirement to Autmatically format the Messages using HMTL if the ... > DLL is running from ASP.NET otherwise use standard Formating when DLL is ...
    (microsoft.public.dotnet.framework.aspnet)