asp.net cannot write files under windows 2003

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!
 
T

Teemu Keiski

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top