Getting FogBugz to Run Under the Right Account: Windows XP and Windows 2003 Server (IIS 5.0 Isolation Mode)

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

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 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.

4 Right-click on it, and choose Properties. Ensure that Application Protection is set to High:

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

6 Ensure that Anonymous Access is checked and Integrated Windows authentication is not checked. For the Account used for Anonymous Access, ensure that the Username and Password correspond to the username and password of the FogBugz account. Ensure that Allow IIS to control password is not selected:

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

Run the Component Services control panel (Start > Administrative Tools > Component Services).

9 Drill down to Component Services > Computers > My Computer > COM+ Applications

10 Find the COM+ application that corresponds to your FogBugz application. It will usually have a name like:

IIS-{Default Web Site//Root/FogBugz}

11 Right-click on it and choose Properties. Go to the Identity tab and enter the FogBugz account user name and password:

12 Click OK.

13 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).