can't find the asp.net user account

D

Dica

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
 
N

Norman Yuan

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.
 

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

Top