Export (0) Print
Expand All

Enabling Web Management Service Failed Request Tracing

Updated: June 2, 2010

Applies To: Windows Server 2008 R2

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.

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

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

  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.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft