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.
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.
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.
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'."
Enable Web Management Service failed request tracing by using IIS Manager
To enable WMSvc failed request tracing
Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
In the Connections pane, select the node of the server for which you want to enable WMSvc failed request tracing.
In Features View, select Management Service Delegation.
In the Actions pane, click Open Feature. The Management Service Delegation window appears.
In the Actions pane, click Edit Feature Settings.
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.
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.