asp.net cannot write files under windows 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use windows 2003 and .net 2003 to write a ASP .NET web application. the function is user can upload files to the server and the sever will save the files in the virtual directory(for example, \wwwroot\myWebApplication\incoming).But it failed to save the uploaded file within the Web application. the error is "Access denied."
I have assign the full control permission of the folder to ASPNET user account. This application work well under windows 2000 and .net 2002. When it is transfered to windows 2003 and .net 2003, it has the above problem. How to solve it?
Sorry for my poor English.
Thanks a lot!
 
In Windows Server 2003 ASP.NET runs under NETWORKSERVICES user (same as
IIS), not ASPNET

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

yilin said:
I use windows 2003 and .net 2003 to write a ASP .NET web application. the
function is user can upload files to the server and the sever will save the
files in the virtual directory(for example,
\wwwroot\myWebApplication\incoming).But it failed to save the uploaded file
within the Web application. the error is "Access denied."
I have assign the full control permission of the folder to ASPNET user
account. This application work well under windows 2000 and .net 2002. When
it is transfered to windows 2003 and .net 2003, it has the above problem.
How to solve it?
 
Back
Top