> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/failed-request-tracing-with-iis/installation.md).

# Installation

Follow these instructions to enable failed request tracing in IIS:

{% hint style="info" %}
The following steps apply to Windows Server 2016 and later.
{% endhint %}

1. Open the ***Server Manager***.
2. In the ***Manage*** tab, select ***Add Roles and Features***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4317.png" alt=""><figcaption></figcaption></figure>
3. In the **Installation Type**\* section, select the installation type that applies to your situation, then click ***Next***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4318.png" alt=""><figcaption></figcaption></figure>
4. In the ***Server Selection*** section, select the destination server, then click ***Next***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4319.png" alt=""><figcaption></figcaption></figure>
5. In the ***Server Roles*** section, expand ***Web Server (IIS)*** role, ***Web Server***, then ***Health and Diagnostics***. Check the ***Tracing*** box and click ***Next***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4320.png" alt=""><figcaption></figcaption></figure>
6. In the ***Features*** section, simply click ***Next***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4321.png" alt=""><figcaption></figcaption></figure>
7. In the ***Confirmation*** section, click ***Install***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4322.png" alt=""><figcaption></figcaption></figure>
8. In the ***Results*** section, click ***Close***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4323.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/failed-request-tracing-with-iis/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
