Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable Failed Request Tracing in IIS 10.0 on Windows 10 development PC?

Tags:

iis-10

trace

How to I enable Failed Request Tracing in IIS 10.0 on my Windows 10 dev pc?

I can find instructions for IIS7 and IIS8.5 (see http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis-85) but doesn't seem to be available in IIS10.

According to above instructions there should be a link to "Failed Request Tracing" under "Configure" in the Actions pane - but see in screen shot it is clearly not there: screen shot of IIS Actions pane

like image 983
user1651370 Avatar asked Oct 15 '15 11:10

user1651370


People also ask

How do I trace a request in IIS?

In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS). In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. On the Select Role Services page of the Add Role Services Wizard, select Tracing, and then click Next.


3 Answers

The instructions should work exactly the same since the UI has not changed. Make sure that you install Failed Request Tracing, for that run OptionalFeatures.exe and make sure that Tracing is enabled in the Internet Information Services->World Wide Web Services->Health and Diagnostics.

like image 77
Carlos Aguilar Mares Avatar answered Oct 03 '22 00:10

Carlos Aguilar Mares


You can also add this feature by going to Start -> Turn Windows features on or off -> Internet Information Services -> Health and Diagnostics.

Screenshot

like image 29
William Avatar answered Oct 03 '22 01:10

William


You can enable the tracing feature using this PowerShell command (Running as Administrator)

Install-WindowsFeature Web-Http-Tracing 
like image 32
Troy Avatar answered Oct 03 '22 00:10

Troy