Setting Up ASP.NET account for web server running on Domain Controller

Resolution : 

Applies To

- ASP.NET version 2.0 (Microsoft .NET framework)

- Internet Information Services (IIS) version 6.0

- Microsoft® Windows Server™ 2003 operating system 

 

1. Create domain user account called customASP

 

2. Assign ASP.NET Permissions to the New Account by running the following command from a command prompt on the web server

aspnet_regiis -ga gordon.nt\customASP

 

3. Review the permissions that appear on the screen. Make sure when you run Aspnet_regiis.exe with the -ga switch, the command grants the following rights to the account:

- Access to the IIS Metabase

- Permission to write to the WINDOWS\Microsoft.NET\Framework\version\Temporary ASP.NET Files folder 

 

4. Create an Application Pool with the Custom Account...

a. Start Internet Information Services (IIS) Manager.

b. In the left pane, expand the local computer and then expand Application Pools.

c. Create a new Application Pool node leaving the 'Use default settings for new application pool' option selecte.

d. go to the Properties of the new application pool and click the Identity tab, click Configurable and type CustomASP and the account password in the text boxes, verify password and hit OK. 

 

5. Configure the Application to Run in the New Application Pool...

a. Return to the Internet Information Services (IIS) Manager.

b. Locate your test ASP.NET application in the left pane of the IIS Manager console.

c. Go to the folders Properties where the application will be saved and on the Directory tab in the Properties dialog box, in the Application Settings section, select the new application pool you just created from the Application pool list, and then click OK. 

 

6. Create an ASP.NET application and test.

 

 

 

 Revision Date : 1/26/2007