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

can't find the asp.net user account

i'm getting an error when trying to perform a file move operation. this
operation worked fine on my dev box after i granted read/write/delete perms
to the asp.net user account on the folders i needed to manipulate. now that
i've put the app into production, i'm getting file access errors, so i tried
to add the asp.net user account, but it's not found and nothing under active
directory. i've got asp.net 2.0 set up on a windows2003 standard box. how do
i find out what account it's running under?

tks
Aug 2 '06 #1
1 5140
An ASP.NET App developer should know what user account is used to run the
ASP.NET app. This user account could be any user account locally to the web
server, or globally to the network domain. It is up to the developer and/or
webserver/network administrator to decide which user account is to run the
app. Developing ASP.NET must takes this into account.

That said, if you did not configure your app to run under specific user
account, by default, ASP.NET uses "MachineName\ASPNET" (non Win2003 IIS) or
"MachineName\Network Services" (Win2003 IIS) to run the app. In your case,
you have to make sure one of these two account have appropriate permission
to process those files. More importantly than this, yo may want to learn how
to configure your app to run under different user account, if necessary.
"Dica" <ge*****@hotmail.comwrote in message
news:ht6Ag.182626$S61.12462@edtnps90...
i'm getting an error when trying to perform a file move operation. this
operation worked fine on my dev box after i granted read/write/delete
perms to the asp.net user account on the folders i needed to manipulate.
now that i've put the app into production, i'm getting file access errors,
so i tried to add the asp.net user account, but it's not found and nothing
under active directory. i've got asp.net 2.0 set up on a windows2003
standard box. how do i find out what account it's running under?

tks

Aug 2 '06 #2

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

Similar topics

11
by: Marcelo López | last post by:
I need to create a folder in the file system owned by an special user created by my application. The idea is that only my app will have permissions to delete and create files on that folder. My...
0
by: Joshua Maeir | last post by:
Hi, Running VS Studio 2003 DotNet Framework 1.1 On XP Pro I have an application and a matching deployment project(actualy several)that have been developed under my own user account.
1
by: Angelo | last post by:
Hi, I've been trying to create a user in Active Directory. So far this works, however default the user is disabled. I've been trying so much code to enable the user, but without success, perhaps...
2
by: Vinny Vinn | last post by:
On occasion a Network User Account gets locked out. This causes lots of problems as the account is used to run different programs. The programs fail when the user account is locked out. I would...
2
by: jason | last post by:
I'm trying to run an external command-line file using user create C:\DLL\*.dll files as following code Process.Start("c:\test.exe" The test.exe has no problem when I run on the dos prompt as I...
3
by: pealy2 | last post by:
Sorry if this is in the wrong group, I've searched long & hard without finding anything even slightly useful. (recommendations for a more relevant group gratefuly received) I need to change the...
6
by: lanem | last post by:
Is it possible for me to get the actual windows user account that a user is logged in on their computer as? If they are logged on and authenticated on my network, can I get that username from my...
0
by: teejayem | last post by:
Hi. I have searched the groups and have been unable to find an answer to my question. I am trying to reset the password of a user account in active directory. I have been trying to do this...
5
by: Chris Noble | last post by:
A user account expiration date can be set using the following code // Use the DirectoryEntry.InvokeSet method to invoke the // AccountExpirationDate property setter. usr.InvokeSet(...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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.