IISAppPool

Contents

IIS App Pool Identity

Sense Adapt can run as the user the IIS App Pool has been setup as. This gets rid of the need to store the username and password for SenseAdapts access to TFS as plaintext in the configuration file and is encouraged in curcumstances where SenseAdapt will be running in the context of one account.


IIS App Pool Settings

In the IIS App Pool for SenseAdapt ensure the following has been set.

  • .NET Framework v4.0
  • Enable 32-Bit Applications set to True
  • Set the App Pool identity to the username and password that has access to TFS that SenseAdapt will be using
  • Set load user profile to true


IIS Authentication

Set IIS Authentication to Windows Authentication only.

Configuration File settings Inside visualisation.config set the following
useTFSImpersonationfalse
useImpersonationtrue
tfsServerURLie http://tfsdev01/tfs
tfsUserNamecan be deleted
tfsPasswordcan be deleted


Inside the web.config ensure that the following key is set

<authentication mode="Windows" />

Loop Back Issue

If you host SenseAdapt on the same server as TFS you may suffer a 401 Unauthorised error even if all of the of the account details are correct. This can possibly be caused by loopback check security. You can add some exclusions to these rules by following method 1 in the following article https://support.microsoft.com/en-gb/help/896861/you-receive-error-401.1-when-you-browse-a-web-site-that-uses-integrated-authentication-and-is-hosted-on-iis-5.1-or-a-later-version