问题
I was attempting to use Microsoft's Debug Diagnostic Tool (DebugDiag) to identity an Application Event Log error occurring in w3wp.exe / clr.dll, as described in this answer.
However, when I attempted to add my new Rule, I got an error dialog:
Cannot connect to service. Failed to start DbgSVC. GetLastError returns 0x00000422
How can I add the Rule successfully?
回答1:
This error indicates that the Debug Diagnostic Service
service is disabled.
To fix:
- Start > Run > services.msc
- In the Services dialog that appears, find "Debug Diagnostic Service" in the list.
- Right-click that service > Properties.
- Change the Startup Type from
Disabled
toManual
. Click OK. - Return to DebugDiag and try again to add (or modify or delete) the Rule.
DebugDiag will automatically start the service. The problem is that DebugDiag can't start the service when it's in Disabled state.
来源:https://stackoverflow.com/questions/26127366/debug-diagnostic-tool-cant-modify-rules-failed-to-start-dbgsvc-getlasterro