473,402 Members | 2,055 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,402 software developers and data experts.

Windows 2003 server ASPNET user rights issue

RJN
Hi

The web application is running on the Windows 2003 server environment.
The virtual directory is mapped to say
"C:\Inetpub\wwwroot\MyApplication" directory. When we try to create a
file and save it to the .\MyApplication directory, we get the folowing
error

Could not find a part of the path "C:\"

We have given read/write permissions to MyApplication directory for the
ASPNET user. Surprisingly same works fine in Windows 2000 professional.
Any idea what else needs to be done?

Regards

rjn
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
4 1334
Hi rjn,

Are you using impersonation for the indentity?

<identity impersonate="true" username="user" password="password"/>.

If so you will have to grant the permissions to the impersonated user
as you have suggested above.

Are you accessing the path using the UNC name of the server?

File = \\server\share
<file:///\\server\share>

Nov 19 '05 #2
In Windows 2003 the worker process actuall executes under the NETWORK
SERVICE account, not ASPNET. If you grant the same permissions to
NETWORK SERVICE you'll see everything work, I'd imagine.

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 06 Apr 2005 07:24:23 -0700, RJN <rj*@yahoo.com> wrote:
Hi

The web application is running on the Windows 2003 server environment.
The virtual directory is mapped to say
"C:\Inetpub\wwwroot\MyApplication" directory. When we try to create a
file and save it to the .\MyApplication directory, we get the folowing
error

Could not find a part of the path "C:\"

We have given read/write permissions to MyApplication directory for the
ASPNET user. Surprisingly same works fine in Windows 2000 professional.
Any idea what else needs to be done?

Regards

rjn
*** Sent via Developersdex http://www.developersdex.com ***


Nov 19 '05 #3
RJN

Thanks for your replies. No identity has been set in the web.config file
and hence I believe will not use any impersonation. And I'm not trying
to write the file on the same server and not on a remote server.

I'll try granting permissions to NETWORK SERVICE account.

Regards

rjn


*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #4
RJN
After granting permissions to NETWORK SERVICE account.
it should be fine
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kevin Spencer | last post by:
We just moved an ASP.Net app to a Windows 2003 Server, and the SMTPMail fails now with the following message: System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,...
3
by: Harry Simpson | last post by:
Windows Server 2003 is supposed to include Framework 1.1 right. I don't have it here but have reports that the web is not running. The users say that the %COMPUTERNAME%\ASPNET user doesn't exist....
7
by: Lucas | last post by:
Hi, I have an ASP.Net application written with VS.Net 2002 (Net FWK 1.0). This Web Application uses Exception Management Application Block to log Events to Windows Event Log. We registered the...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
5
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
0
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web...
7
by: Alice Wong | last post by:
I am setting up my Web ASP.net application to connect to Sql server using windows authentication. I set up IIS to have integrated windows authenication and sql to allow Windows authentication....
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.