Hi,
We are facing an issue where MsDepSvc randomly crashes with the same exception on multiple servers. All servers are Windows 2008 R2 Server and are running msdeploy version 7.1.1046.1.
Windows version is 6.1.7600 Build 7600.
The exceptions we're getting are as follows:
MsDepSvc.exe Error: 0 : An error occurred during 'execution'. The exception details are as follows: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Web.Deployment.TraceEventSerializer.TraceEventHandler(Object sender, DeploymentTraceEventArgs traceEvent) at Microsoft.Web.Deployment.DeploymentBaseOptions.OnRaiseEvent(DeploymentTraceEventArgs traceEvent) at Microsoft.Web.Deployment.RunCommandProvider.RunningProcess_OutputDataReceived(String data) at Microsoft.Web.Deployment.AsyncStreamReader.ReadBuffer(IAsyncResult ar) at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state) ProcessId=1216 ThreadId=16 DateTime=2012-08-03T12:19:48.4504849Z Timestamp=11169891554326
We're calling msdeploy using custom dll written in CSharp 4.0 referencing MSWebDeployment libraries Microsoft.Web.Deployment Version 8.0.0.0.
The exceptions happens when calling RunCommand provider. Please let me know if you need any more details or if there is a better place to raise this defect. I could not found official support site for MsDeploy.