WEBDEPLOY: ENABLE TRACING

Lately I have been spending some *Quality* time with MsDeploy aka. Web Deploy and Often deploying sites to Remote Agent requires understanding what is going on under the hood when problem occurs. Like any production application, enabling tracing helps out immensely when things does not seem to work the way you think it should work.

Here are couple of switches that will help you see what is going on.

Caution: It is registry right? so back it up

reg add “HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3” /v EnabledTraceLevel /t REG_DWORD /d 2 /f

reg add “HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3” /v WMSVCTracing /t REG_DWORD /d 1 /f

Advertisements