You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/developer/webapps/iis/health-diagnostic-performance/troubleshoot-arr-using-frt-rules.md
+32-16Lines changed: 32 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
title: Using Failed Request Tracing rules to troubleshoot Application Request Routing
3
3
description: Describes the steps to enable Failed Request Tracing rules to debug failures and trace steps in Application Request Routing.
4
-
ms.date: 07/02/2008
4
+
ms.date: 01/03/2025
5
5
ms.author: haiyingyu
6
6
author: HaiyingYu
7
7
ms.reviewer: johnhart, riande
8
8
ms.custom: sap:Health, Diagnostic, and Performance Features\Failed Request Tracing
9
9
---
10
10
# Using Failed Request Tracing rules to troubleshoot Application Request Routing
11
11
12
-
_Applies to:_ Internet Information Services 7.0 and later versions
12
+
_Applies to:_ Internet Information Services on Windows Server 2016 and later operating system versions
13
13
14
-
Failed Request Tracing is a powerful tool for troubleshooting request-processing failures in IIS 7.0 and later versions. This article provides steps to enable Failed Request Tracing rules to debug failures and trace steps in Application Request Routing. For more information about Failed Request Tracing rules, see [Troubleshoot failed requests using tracing in IIS 8.5](troubleshoot-failed-requests-using-tracing-in-iis-85.md).
14
+
Failed Request Tracing is a powerful tool for troubleshooting request-processing failures in the Internet Information Services (IIS) web server that ships with Windows Server 2016 or later versions. This article provides steps to enable Failed Request Tracing rules to debug failures and trace steps in Application Request Routing. For more information about Failed Request Tracing rules, see [Troubleshoot failed requests using tracing in IIS](troubleshoot-failed-requests-using-tracing-in-iis-85.md).
15
15
16
16
## Goal
17
17
@@ -21,7 +21,7 @@ To configure Failed Request Tracing rules and to understand what to look for whe
21
21
22
22
This walkthrough requires the following prerequisites:
23
23
24
-
- IIS 7.0 or above on Windows 2008 (any SKU) or newer with Tracing role service installed for IIS.
24
+
- IIS on Windows Sever 2016 (any SKU) or newer with Tracing role service installed for IIS.
25
25
- Microsoft Application Request Routing and dependent modules.
26
26
- Minimum of two application servers with working sites and applications.
27
27
@@ -36,24 +36,38 @@ Configure the Failed Request Tracing rules for Application Request Routing using
36
36
### How to configure Failed Request Tracing rules using the UI
37
37
38
38
1. Launch Internet Information Services (IIS) Manager (inetmgr).
39
-
1. Select **Default Web Site**.
39
+
1. Select **Default Web Site**.
40
+
40
41
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/site-list-expanded.png" alt-text="Screenshot showing the Sites list expanded. Default Web Site is highlighted.":::
41
-
1. In the **Actions** pane, under **Configure**, select **Failed Request Tracing…**.
42
+
43
+
1. In the **Actions** pane, under **Configure**, select **Failed Request Tracing…**.
44
+
42
45
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/failed-request-tracing-in-action-pane.png" alt-text="Screenshot focused on Failed Request Tracing in the Actions pane.":::
43
-
1. In the **Edit Web Site Failed Request Tracing Settings** dialog box, select the **Enable** checkbox.
46
+
47
+
1. In the **Edit Web Site Failed Request Tracing Settings** dialog box, select the **Enable** checkbox.
48
+
44
49
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/edit-web-site-frt-settings-dialog.png" alt-text="Screenshot of the Edit Web Site Failed Request Tracing Settings dialog.":::
50
+
45
51
1. Select **OK** to save changes.
46
52
1. Select **Default Web Site**.
47
53
1. Double-click **Failed Request Tracing Rules**.
48
-
1. In the **Actions** pane, select **Add…**.
49
-
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/add-frt-rule-window.png" alt-text="Screenshot of the Add Failed Request Tracing Rule window. All content is selected.":::
54
+
1. In the **Actions** pane, select **Add…**.
55
+
56
+
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/add-frt-rule-window.png" alt-text="Screenshot of the Add Failed Request Tracing Rule window. All content is selected.":::
57
+
50
58
Select **All content (\*)**, and then select **Next**.
51
-
1. Select **Status code(s):** and enter _200-399_.
52
-
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/add-frt-rule-select-status-code.png" alt-text="Screenshot of the Add Failed Request Tracing Rule. Status code is checked.":::
59
+
1. Select **Status code(s):** and enter _200-399_.
60
+
61
+
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/add-frt-rule-select-status-code.png" alt-text="Screenshot of the Add Failed Request Tracing Rule. Status code is checked.":::
62
+
53
63
Select **Next**. The above configuration has created a Failed Request Tracing rule that writes traces when the status code falls between 200 and 399.
54
-
1. Deselect **ASP**,**ASPNET**, and **ISAPI Extension**. After selecting **WWW Server**, deselect everything under **Areas:**, except for **Rewrite** and **RequestRouting**. Because Application Request Routing relies on the URL Rewrite Module to inspect incoming requests, it's recommended that you enable the traces for both Application Request Routing (**RequestRouting**) and URL Rewrite Module (**Rewrite**).
55
-
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/edit-frt-rule-window.png" alt-text="Screenshot of the Edit Failed Request Tracing Rule window. W W W server is selected in the Providers section.":::
56
-
For additional information about URL Rewrite Module traces, see [Using Failed Request Tracing to Trace Rewrite Rules](/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules) .
64
+
65
+
1. Deselect **ASP**,**ASPNET**, and **ISAPI Extension**. After selecting **WWW Server**, deselect everything under **Areas:**, except for **Rewrite** and **RequestRouting**. Because Application Request Routing relies on the URL Rewrite Module to inspect incoming requests, it's recommended that you enable the traces for both Application Request Routing (**RequestRouting**) and URL Rewrite Module (**Rewrite**).
66
+
67
+
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/edit-frt-rule-window.png" alt-text="Screenshot of the Edit Failed Request Tracing Rule window. W W W server is selected in the Providers section.":::
68
+
69
+
For additional information about URL Rewrite Module traces, see [Using Failed Request Tracing to Trace Rewrite Rules](/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules).
70
+
57
71
1. Select **Finish**.
58
72
59
73
### How to configure Failed Request Tracing rules using the command-line
@@ -96,8 +110,10 @@ In this step, you'll send requests to Application Request Routing and analyze Fa
96
110
97
111
1. Send a request to Application Request Routing. If Application Request Routing is functioning correctly, it results in a 200 response, which falls within the 200 to 399 range that is specified in [Step 1](#step-1-configure-failed-request-tracing-rules). Therefore, the logs are written to the location above.
98
112
1. List the files in the directory to confirm that new XML files are written.
99
-
1. Open the XML file. Select **Request Details**. Select **Complete Request Trace**, and then Select **Expand All**. The following image is an example of a Failed Request Tracing log for Application Request Routing:
100
-
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/request-diagnostics-for-sample.png" alt-text="Screenshot of a browser window showing the Request Diagnostics for the example website in a tab.":::
113
+
1. Open the XML file. Select **Request Details**. Select **Complete Request Trace**, and then Select **Expand All**. The following image is an example of a Failed Request Tracing log for Application Request Routing:
114
+
115
+
:::image type="content" source="media/troubleshoot-arr-using-frt-rules/request-diagnostics-for-sample.png" alt-text="Screenshot of a browser window showing the Request Diagnostics for the example website in a tab." lightbox="media/troubleshoot-arr-using-frt-rules/request-diagnostics-for-sample.png":::
116
+
101
117
1. Pay closer attention to the following sections:
# Invalid credentials error when running desktop flows in Power Automate for desktop
9
9
@@ -50,6 +50,7 @@ To see an error message with specific details on what went wrong, ensure you hav
50
50
|-1073741477|A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who can logon interactively and through the network.|The user account doesn't have logon rights on the machine, or the administrator changed the policies of the machine (check the [User Rights Assignment](/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/user-rights-assignment) settings).|To solve this issue, see ["Logon type has not been granted" error when running a desktop flow or creating a connection](logon-type-has-not-been-granted.md).|
51
51
|-1073445812|The user's UPN isn't in the expected format|The user signed in using `DOMAIN\user` but should use the `[email protected]` format instead (or vice versa).|Try to sign in using both the `[email protected]` and `DOMAIN\user` formats.|
52
52
|-1073741062|Smart card logon is required and was not used||Connections to machines that require smart card logons aren't supported. Use a machine without this requirement.|
53
+
|-1073741715|Bad username or authentication information| The "executing account name" or the format of your username is incorrect. |Run the [dsregcmd /status](/entra/identity/devices/troubleshoot-device-dsregcmd) command in the context of the desktop flow connection account. Check the `Executing Account Name` section in the output and make sure it matches the username that was used. [Microsoft Entra joined](/entra/identity/devices/concept-directory-join) or hybrid devices always prefer the UPN `[email protected]` format. If your machine is Microsoft Entra joined, use the `[email protected]` format for your username. You should only use the `DOMAIN\user` format if your device is domain-only joined.|
53
54
54
55
If you don't have a more specific error associated with the problem, the easiest way to troubleshoot is to sign in to the machine with the exact credentials you entered in your connection. You can try this method by signing in to the machine locally or through a Remote Desktop connection. You should receive the same error message that Power Automate receives when trying to authenticate your credentials, which should help you troubleshoot the issue.
description: This article introduces how to troubleshoot errors reported by the DBCC CHECKDB command.
4
4
ms.reviewer: jopilov, v-jayaramanp
5
-
ms.date: 08/13/2024
5
+
ms.date: 01/03/2025
6
6
ms.custom: sap:File, Filegroup, Database Operations or Corruption
7
7
---
8
8
@@ -38,7 +38,7 @@ The cause of these problems can range from file system corruption, underlying ha
38
38
39
39
## Resolution
40
40
41
-
1. Resolve any underlying hardware-related problems on the system before you proceed with restoring a backup or otherwise repairing the database. Apply any device driver, firmware, BIOS, and operating system updates that are relevant to the I/O path. Work with the administrator of the full I/O path (local machine, device drivers, storage NICs, SAN, backend storage, and cache) to isolate and resolve any problems. Examples include updating device drivers and checking configuration of the entire I/O path. For more information about checking the root cause, see [Investigate root cause](#investigate-root-cause-for-database-consistency-errors).
41
+
1. Resolve any underlying hardware-related problems on the system before you proceed with restoring a backup or otherwise repairing the database. Apply any device driver, firmware, BIOS, and operating system updates that are relevant to the I/O path. Work with the administrator of the full I/O path (local machine, device drivers, storage NICs, SAN, backend storage, and cache) and memory (RAM) to isolate and resolve any problems. Examples include updating device drivers and checking the configuration of the entire I/O path. For details on how to investigate the root cause, see [Investigate root cause](#investigate-root-cause-for-database-consistency-errors).
42
42
1. If `DBCC CHECKDB` reports permanent consistency errors, the best solution would be to restore data from a known good backup. For more information, see [Restore and Recovery](/sql/relational-databases/backup-restore/restore-and-recovery-overview-sql-server).
43
43
1. Apply the latest SQL Server Cumulative Update or Service Pack to make sure you aren't running into any known issues. Check the [Cumulative Update or Service Pack documentation](../../releases/download-and-install-latest-updates.md) for any known issues fixed related to database corruption (consistency errors) and apply any relevant fixes. One central location where you can search for all fixes for a particular version if the [Detailed fix lists for SQL Server 2022, 2019, 2017](https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fdownload.microsoft.com%2Fdownload%2Fd%2F3%2Fe%2Fd3e28f3d-6a4f-47ce-aaa5-9d74c5590ed6%2FSQLServerBuilds.xlsx).
44
44
1. If the `DBCC CHECKDB` errors are intermittent, that is if they appear on one run and disappear on the next one, you might be facing disk cache issues (either device driver or other I/O path issue). Work with the maintainers of the I/O path to isolate and resolve any problems. Examples include updating device drivers, checking configuration of the entire I/O path, and updating firmware and BIOS on the I/O path devices and system.
@@ -81,7 +81,7 @@ The cause of these problems can range from file system corruption, underlying ha
81
81
To identify the root cause of database consistency errors, consider these methods:
82
82
83
83
- Check the Windows System Event Log for any system level, driver, or disk-related errors and work with your hardware manufacturer to resolve them.
84
-
- Run any diagnostics provided by your hardware manufacturers for the computer and/or disk system.
84
+
- Run any diagnostics provided by your hardware manufacturers for the computer and/or disk system. Most systems provide BIOS/UEFI built-in diagnostics for storage (hard drives), memory, CPUs, system boards, RAID arrays, and multiple other components.
85
85
- Work with your hardware vendor or device manufacturer to make sure that:
86
86
- The hardware devices and the configuration confirm to the [Microsoft SQL Server Database Engine Input/Output requirements](database-engine-input-output-requirements.md).
87
87
- The device drivers and other supporting software components of all devices in the I/O path are updated.
0 commit comments