> 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.md).

# Failed request tracing in IIS

Learn how to install and configure a failed request tracing log rule for troubleshooting HTTP 500 error issues on the IIS site.

* [Enable failed request tracing in IIS](https://docs.devolutions.net/server/kb/troubleshooting-articles/failed-request-tracing-with-iis/enable-failed-request-tracing-iis/): Detailed step by-step instructions to add the role on a Windows Server.
* [Configure failed request tracing in IIS](https://docs.devolutions.net/server/kb/troubleshooting-articles/failed-request-tracing-with-iis/configure-failed-request-tracing/): Configuration needed for troubleshooting HTTP 500 error issues.
* [Consult the failed request tracing log](https://docs.devolutions.net/server/kb/troubleshooting-articles/failed-request-tracing-with-iis/consult-failed-request-tracing-log/): How to take a look at the failed request tracing logs.

For more information, please visit Microsoft's documentation on [Trace Failed Requests](https://learn.microsoft.com/en-us/iis/configuration/system.webServer/tracing/traceFailedRequests/).


---

# 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.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.
