This is useful when the Agent app is setup to use Windows authentication
Edit the $dovetailAgent\app\web.config file
Within the system.webserver
node, add a httpErrors
node, like so:
<system.webServer>
...
<httpErrors errorMode="Custom"> <!-- DetailedLocalOnly, Custom, Detailed -->
<error statusCode="401" subStatusCode="1" path="401-1.html" responseMode="File" />
</httpErrors>
</system.webServer>
Notice that the errorMode is set to Custom. More details on the httpErrors node
Note: This can also be done using IIS.
* Open the Internet Information Services Manager
* In the left pane, click the Dovetail Agent web application
* From the Features view click on Error Pages
* Click on Add
* Status code: 401.1
* Insert content from statisc file: 401-1.html
* Click on Edit Feature Settings
* Click on Custom Error pages (or Detailed for local and custom for remote)
* Click OK
* Open the Internet Information Services Manager
* In the left pane, click and expand on the Dovetail Agent web application
* Under the Agent web application, click on the **content** folder
* Double-click on the **Authentication** feature icon (within the IIS category)
* Click on **Anonymous Authentication** from the list
* Click **Enable** in the right sidebar
* Click on **Windows Authentication** from the list
* Click **Disable** in the right sidebar