ASP.Net which user account running Web Service on IIS 7?

Leo picture Leo · Nov 24, 2010 · Viewed 100.2k times · Source

I want to know which account running my Web Service/Application so that I can assign the read/write access to that account. I have researched and see most of the sources mentions about ASPNET account, but on my 2008 server, there is not any acount named ASPNET. Some sources say ASPNET is being replaced by NETWORK SERVICE?

Also, can I assign to another user account to run the service? And how to do that?

Thanks,

Answer

MLH picture MLH · Mar 8, 2011

Server 2008

Start Task Manager Find w3wp.exe process (description IIS Worker Process) Check User Name column to find who you're IIS process is running as.

In the IIS GUI you can configure your application pool to run as a specific user: Application Pool default Advanced Settings Identity

Here's the info from Microsoft on setting up Application Pool Identites:

http://learn.iis.net/page.aspx/624/application-pool-identities/