Hi,
Similar crash issues have been raised previously (http://forums.iis.net/p/1190341/2025969.aspx#2025969) but there was no response. Some others have also recently raised issues: http://forums.iis.net/t/1192047.aspx
I am using web deploy 3.0 (version 3.1236.1631) to sync from Win 7 64 bit IIS 7.5 to Win 2008 R2 64 bit IIS 7.5. Most things work well but almost every time I run certain sync commands MsDepSvc crashes with an unhandled exception. It happens about 90% of the time, and performing an iisreset on the server sometimes stops the crashes from happening for a couple of deployments, however this is only successful 50% of the time. It is hard to detect a pattern here.
Here's the command (I am using powershell to orchestrate the deployment):
https://gist.github.com/3815479
The retry options do not seem to have any effect as the command appears to succeed, but then MsDepSvc will crash, and subsequent commands will fail. I have configured MsDepSvc to restart on a crash, but it is not fast enough to resume before the next deploy command is requested to run.
The above command will generate errors in the event log such as:
https://gist.github.com/3815494
This is very frustrating and detracts from an otherwise great product. We cannot fully rely on our deployment automation until the service is reliable. Does anyone have any experience with how to resolve this?
Thanks,
Joe