> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable detailed error responses in IIS

> Enable detailed HTTP error responses for ABBYY FlexiCapture in IIS through IIS Manager Error Pages settings or by editing the web.config httpErrors element.

By default, detailed error responses for certain HTTP request errors are disabled in IIS, as they may contain identifying information about the application. This usually affects client-side errors with status codes ranging from 400 to 499 and server-side errors with status codes ranging from 500 to 599.

You can enable detailed error responses in IIS Manager or by modifying the `web.config` file.

To enable detailed error responses in IIS Manager:

1. Launch IIS Manager.
2. Select your website in the treeview and double-click the **Error Pages** icon on the site home page.

<Frame>
  <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_DetailedErrors1.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=ea72adeb1923d19a54ea9b77f27d400b" alt="Screenshot of IIS Manager with a website selected and the Error Pages icon highlighted on the site home page." width="1633" height="927" data-path="images/flexi-capture/TG_DetailedErrors1.png" />
</Frame>

3. In the **Actions** pane, click **Edit Feature Settings**...
4. In the **Edit Error Pages Settings** dialog box, select **Detailed errors**.

<Frame>
  <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_DetailedErrors2.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=35c633b04530cad62d5324bcb3a7cac9" alt="Screenshot of the Edit Error Pages Settings dialog box in IIS Manager with the Detailed errors option selected." width="685" height="637" data-path="images/flexi-capture/TG_DetailedErrors2.png" />
</Frame>

5. Click **OK**.

You can also enable detailed error responses by copying and pasting the following code into your `web.config` file:

```xml theme={null}
<configuration> 
  <system.web> 
    <customErrors mode="Off"/> 
  </system.web> 
  <system.webServer> 
    <httpErrors errorMode="Detailed"/> 
  </system.webServer> 
</configuration>
```

For more information, see [the Microsoft documentation](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httperrors/).
