1

I'm trying to install FogBugz on Windows Server 2008 SP1 (x64) I go through the setup wizard, and get to the point where it tries to install, then get the error:

"FogBugz Setup could not find aspnet_regiis.exe and was unable to grant ASP.NET permissions to the FogBugz user."

I can confirm that it aspnet_regiis.exe is installed at "c:\Windows\Microsoft.NET\Framework\v2.0.50727"

The server would appear to have versions 1.0, 1.1, 2.0, 3.0 and 3.5 of the .Net framework installed.

Fog Creek Case FC1969972

flag

2 Answers

2

This error comes from the command:

c:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ga [username]

FogBugz is trying to run this command and failing.

I found that one user had FogBugz running as the windows user user@domain.com (instead of the more common DOMAIN\user). For some reason the command:

c:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ga user@domain.com

will always fail.

Changing FogBugz to run as DOMAIN\user fixed the problem.

link|flag
1

Another user found that aspnet_regiis is trying to add the user DOMAIN\user to the local group SERVERNAME\IIS_IUSRS.

He tried creating the group DOMAIN\IIS_IUSRS and that changed the error message from "The group could not be found" to "The specified local group does not exist"

The problem he had is the machine is a domain controller, so it's not possible to create local groups. With aspnet_regiis trying to add users to a local group, our install program is always going to fail.

He also discovered a group called DOMAIN\IIS_IUSRS~0 which appears to have been created at some point in the past, probably automatically. It was this group that had permission to access "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"

So he manually added DOMAIN\user to DOMAIN\IIS_IUSRS~0 and ran setup with the /ignoreisserorr and /ignorepermissionserror flags

He had to map the directory in IIS afterward, but other than that, so far it appears to be working.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.