473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

asp.net cannot write files under windows 2003

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
1 1333
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
13
by: Nick Z. | last post by:
Whenever I try to compile a VC++ program using VS .NET 2003 I get an error saying mspdb71.dll not found. How can I fix this error? PS. I ran vsvars32.bat and it did not change a thing. ...
0
by: Jose Lopes Moreira | last post by:
I am deploying an application on a Windows 2003 server. This application needs to write files to a folder. On IIS 5 this worked fine by granting permissions to the ASPNET user. The aspnet_wp.exe...
4
by: Chris | last post by:
I posted this in the C# language group, then thought it might be more appropriate in this group. I would not cross-post except I want the answer so badly. I built small C# Web and Web Service...
3
by: Jensen Bredal | last post by:
Hello, I'm doing localhost developpement on a win2k3 server . When i lunch the default page i get the following. How do i resolve it? many thanks in advance Server Error in '/MultiTest'...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
10
by: dermot | last post by:
I have wrriten a small windows service application in visual studio ..net 2003 which listens for incoming FTP files. These files would overwrite over time due to duplicate file names. However any...
0
by: drewmania001 | last post by:
When trying to setup relplication for SQL i am getting the following error. "The system cannot find the path specified" The problem is when trying to run: sp_adddistributiondb line 434:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.