IIS 7.5 ApplicationPoolIdentity Permission Error

IIS 7.5 (Windows 2008 R2) has enhanced security which may cause an error similar to the following if Project Insight application files have been copied into the application path through any means other than being written by the application installer.

Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\Project Insight' is denied.

As of IIS7.5, the default identity for an application pool to ApplicatonPoolIdentity. This change is summarized in the following Microsoft Support article.

The most common causes of this problem in Project Insight are files copied into the application folder to fix bugs or provide customizations. The simple fix to the problem is to make a change in the Properties for the copied file(s). In the General tab of the properties, you should find a message similar to the following.

Security: This file came from another computer and might be blocked to help protect this computer.

Next to the message is an option to Unblock. Use the Unblock option for each copied file and restart IIS.

Online 1/23/2012
Updated on: