Getting FogBugz to Run Under the Right Account: Windows NT 2003 (IIS 6 Isolation Mode)

1 Ensure that the FogBugz account is a member of the IIS_WPG group:

If the FogBugz account is a local account, you can configure this in the Computer Management control panel, under System Tools > Local Users and Groups > Users.

If the FogBugz account is a domain account, you can configure this in Active Directory Users and Computers.

2 Ensure that the FogBugz account has the following four user rights:

Adjust memory quotas for a process
Allow log on locally
Log on as a batch job
Replace a process level token

If the FogBugz account is a local account:

Admin Tools > Local Security Policy > Local Policies > User Rights Assignment
or
Admin Tools > Security Settings > Local Policies > User Rights Assignment 

If the FogBugz account is a domain account:

Amin Tools > Domain Controller Security Policy > Local Policies > User Rights Assignment

Simply double-click on each of the four user rights in turn, and add the FogBugz account.

3 Run the Internet Information Services control panel (Start > Administrative Tools > Internet Information Services).

4 Under the local computer, expand the Application Pools tab.

Is there an application pool already set up for FogBugz?

If not, set one up now:

a) Right click on the Application Pools folder and choose New > Application Pool...

b) Although you may use any ID you want for the Application pool, we recommend using the ID "FogBugz at fogbugz-path". Because : and \ are not legal in Application Pool IDs, replace all :'s and \'s in the FogBugz path with dashes. For example, if you have FogBugz installed at the default location, C:\Program Files\FogBUGZ\website, you would use the application pool ID "FogBugz at C--Program Files-FogBUGZ-website":

c) Click OK.

Once you have an application pool for FogBugz:

Right click on the FogBugz application pool and choose Properties. Select the Identity tab:

Ensure that the Configurable radio button is selected, and enter the user name and password for the FogBugz account. Click OK.

Click on the Application Pools folder, and look on the right to ensure that the FogBugz application pool is running. If it is not running, right-click it and choose Start.

7 Under Web Sites, drill down to the FogBugz web site. In the following example, FogBugz was installed as a virtual directory under the Default Web Site. On your server, it may be installed on a different IIS Web Site, either at root level or in a virtual directory.

8 Right-click on it, and choose Properties. Ensure that the Application pool is set to the application pool you set up in step 4:

9 Switch to the Directory Security tab. In the Anonymous Access and Authentication Control section, click on the Edit button:

10 Ensure that Anonymous Access is checked and all the other authentication methods are not checked. Also ensure that the FogBugz account and password are entered:

7 Click OK twice (all the way out of the properties dialogue).

8 Restart IIS: In the IIS control panel, right-click on  your servername itself (the node directly under Internet Information Services), and select All Tasks > Restart IIS (then click End Now).