Share via


Enabling Web Management Service Failed Request Tracing

Applies To: Windows Server 2008 R2

Web Management Service Failed Request Tracing

When to Use

You can use WMSvc failed request tracing for troubleshooting delegation issues or deployment issues that involve the Web Management Service. However, it is not recommended as a full-time logging solution because it logs all requests and all events associated with each request. You do not need to stop the Web Management Service to enable this type of logging.

Information logged

Web Management Service failed request logging records the following information.

  • All request pipeline details.

  • All Web Deploy handler operations.

  • All successful requests.

  • All failed requests.

Important

Unlike the IIS failed request tracing feature, you cannot restrict WMSvc failed request logging to specific URLs or HTTP response codes.

Example WMSvc failed request tracing log entry

An example WMSvc failed request tracing entry follows.

AspNetModuleDiagErrorEvent Error

Uri="/msdeploy.axd", eventData="Not authorized.Details: No rule was found that could authorize user 'WinServer2K8\test', provider 'createApp', operation 'Read', path 'default web site/App1'."

18:54:50.918

Enable Web Management Service failed request tracing by using IIS Manager

To enable WMSvc failed request tracing

  1. Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

  2. In the Connections pane, select the node of the server for which you want to enable WMSvc failed request tracing.

  3. In Features View, select Management Service Delegation.

  4. In the Actions pane, click Open Feature. The Management Service Delegation window appears.

  5. In the Actions pane, click Edit Feature Settings.

  6. In the Edit Feature Settings dialog box, select Enable failed request tracing logs for the delegation service. The logs will be saved under the path %SystemDrive%\inetpub\logs\wmsvc\TracingLogFiles\W3SVC1.

  7. Click OK.

Registry location

The registry location for WMVSvc failed request logging is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server\TracingEnabled. TracingEnabled is a DWORD. A value of 0 means disabled; 1 means enabled.

See Also

Concepts

Configuring Web Management Service Logging and Tracing
Enabling Web Management Service W3C Logging
Enabling Web Management Service Tracing