By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,434 Members | 2,902 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,434 IT Pros & Developers. It's quick & easy.

asp.net cannot write files under windows 2003

P: n/a
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!

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
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!

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.