Skip to content

Commit dae3a98

Browse files
authored
further updates
1 parent 56e117e commit dae3a98

2 files changed

Lines changed: 16 additions & 12 deletions

File tree

support/developer/webapps/iis/site-behavior-performance/troubleshoot-http-error-code.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot HTTP Errors in IIS
33
description: Provides troubleshooting steps for resolving 4xx and 5xx HTTP status code errors in Internet Information Services (IIS).
4-
ms.date: 01/09/2025
4+
ms.date: 01/27/2025
55
ms.reviewer: khgupta, v-sidong
66
ms.custom: sap:Site Behavior and Performance\Runtime errors and exceptions, including HTTP 400 and 50x errors
77
---
@@ -37,13 +37,13 @@ If you find errors in the HTTPERR logs, note the reason (`s-reason`) and see [Ty
3737

3838
### 500 errors in classic ASP
3939

40-
If any error occurs in classic ASP, check the error code or error message in the `cs-uri-query` query of the IIS logs.
40+
If a 500 error occurs in classic ASP, check the error code or error message in the `cs-uri-query` query of the IIS logs.
4141

4242
For more information, capture and examine [Failed Request Trace (FREB) logs](#steps-to-capture-freb-logs) for the 500 errors.
4343

4444
### 500 errors in general IIS
4545

46-
If any error occurs in general IIS, examine the IIS logs, note `sc-status` and `sc-substatus`, and look for the status code in [HTTP status code overview](../health-diagnostic-performance/http-status-code.md#5xx---server-error) for more information on the failure. Enable detailed error messages if feasible to get more details.
46+
If a 500 error occurs in general IIS, examine the IIS logs, note `sc-status` and `sc-substatus`, and look for the status code in [HTTP status code overview](../health-diagnostic-performance/http-status-code.md#5xx---server-error) for more information on the failure. Enable detailed error messages if feasible to get more details.
4747

4848
To enable detailed error messages, follow these steps:
4949

@@ -71,7 +71,7 @@ For more information, capture and examine [Failed Request Trace (FREB) logs](#st
7171

7272
### 500 errors in ASP.NET
7373

74-
If any error occurs in ASP.NET, use the following methods to identify the cause of the error and resolve it:
74+
If a 500 error occurs in ASP.NET, use the following methods to identify the cause of the error and resolve it:
7575

7676
- Check the Application Event Logs.
7777

@@ -105,7 +105,7 @@ If any error occurs in ASP.NET, use the following methods to identify the cause
105105

106106
### 500 errors in ASP.NET Core
107107

108-
If any error occurs in ASP.NET Core, use the following methods to identify the cause of the error and resolve it:
108+
If a 500 error occurs in ASP.NET Core, use the following methods to identify the cause of the error and resolve it:
109109

110110
- Check the Application Event Logs.
111111

@@ -136,7 +136,7 @@ If any error occurs in ASP.NET Core, use the following methods to identify the c
136136

137137
- Enable the ASP.NET Core Module `stdout` log.
138138

139-
To enable and view stdout logs, follow these steps:
139+
To enable and view `stdout` logs, follow these steps:
140140

141141
1. Navigate to the site's deployment folder on the hosting system.
142142
1. If the **logs** folder isn't present, create the folder. For instructions on how to enable MSBuild to create the **logs** folder in the deployment automatically, see [ASP.NET Core directory structure](/aspnet/core/host-and-deploy/directory-structure).
@@ -180,7 +180,7 @@ If any error occurs in ASP.NET Core, use the following methods to identify the c
180180

181181
### 502 errors in ARR
182182

183-
Follow the instructions in [Troubleshooting 502 errors in ARR](../application-request-routing/troubleshooting-502-errors-in-arr.md).
183+
If a 502 error occurs in Application Request Routing (ARR), follow the instructions in [Troubleshooting 502 errors in ARR](../application-request-routing/troubleshooting-502-errors-in-arr.md).
184184

185185
### 503 errors
186186

@@ -249,11 +249,13 @@ Once the **Tracing** role service is installed, follow these steps to capture FR
249249

250250
To capture a PerfView trace and dumps, follow the steps in the following sections.
251251

252-
#### Before the issue occurs
252+
#### Configure PerfView and Procdump before the issue
253+
254+
Before the issue occurs, follow these steps to configure PerfView and Procdump for data collection:
253255

254256
1. Download [Procdump](/sysinternals/downloads/procdump). It's a lightweight executable file that doesn't require installation and automates dump collection.
255257
1. Extract the **procdump.exe** file to a particular folder on the server.
256-
1. Download the [PerfView](https://github.com/microsoft/perfview/releases) tool on the server. It's a profiler tool that captures ETW events (no installation required).
258+
1. Download the [PerfView](https://github.com/microsoft/perfview/releases) tool on the server. It's a profiler tool that captures Event Tracing for Windows (ETW) events (no installation required).
257259
1. For PerfView to provide useful information, add **Tracing** as a **Role Service** for IIS. Without **Tracing** enabled, an ETW trace will only include **HTTP.sys** information. If you aren't sure whether the **Tracing** role service is installed, follow these steps:
258260

259261
[!INCLUDE [Note when using Procdump](../../../../includes/enable-tracing-role.md)]
@@ -274,9 +276,11 @@ To capture a PerfView trace and dumps, follow the steps in the following section
274276
> [!NOTE]
275277
> Don't miss the asterisk (`*`) at the beginning.
276278
277-
#### During the time of issue
279+
#### Collect data during the issue
280+
281+
During the time of the issue, follow these steps to collect data:
278282

279-
1. Select the **Start Collection** button in PerfView with the configuration settings you previously set up.
283+
1. Select the **Start Collection** button in PerfView with the configuration settings you set up in the [Configure PerfView and Procdump before the issue](#configure-perfview-and-procdump-before-the-issue) section.
280284
1. Open Internet Information Services (IIS) Manager.
281285
1. Select your server name (on the left).
282286
1. Double-click **Worker Processes** to see the **Process Id** of the services. For example:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
1. Open Server Manager, and select **Manage** > **Add Roles and Features**.
22
1. In the **Add Roles and Features** wizard, select **Next** until you reach the **Server Roles** page.
3-
1. Expand **Web Server (IIS)** > **Web Server** > **Health and Diagnostics**, and select the **Tracing** checkbox.
3+
1. Expand **Web Server (IIS)** > **Web Server** > **Health and Diagnostics**, and select the **Tracing** checkbox.
44
1. Select **Next** for the subsequent steps, and then select **Install**.

0 commit comments

Comments
 (0)