We get a error and application stops and restart related services. The application is related to DMS system and runs on .Net framework 4.0. This occurs frequently when the load is high. The service Windows Process Activation Service restarts
Error logged in event viewer are :
Log Name: System
Source: Microsoft-Windows-WAS
Date: 4/25/2016 3:50:58 PM
Event ID: 5011
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: XXXXX
Description:
A process serving application pool 'DMS' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1996'. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5011</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-04-25T10:20:58.000000000Z" />
<EventRecordID>21059</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>XXXXX</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">DMS</Data>
<Data Name="ProcessID">1996</Data>
<Binary>6D000780</Binary>
</EventData>
</Event>
Event ID: 1026
Application: DIMO_ERPService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean, System.Net.Sockets.Socket, System.Net.Sockets.Socket, System.Net.Sockets.Socket ByRef, System.Net.IPAddress ByRef, ConnectSocketState, System.IAsyncResult, System.Exception ByRef)
Exception Info: System.Net.WebException
at System.Net.HttpWebRequest.GetRequestStream(System.Net.TransportContext ByRef)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput+WebRequestHttpOutput.GetOutputStream()
Exception Info: System.ServiceModel.EndpointNotFoundException
Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at DIMO_ERPService.DocService.IDocService.ProFoma_Load(System.Guid, System.String, System.String, System.String)
at DIMO_ERPService.DocService.DocServiceClient.ProFoma_Load(System.Guid, System.String, System.String, System.String)
at DIMO_ERPService.ERP.ProFomaLoader.Run()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Event ID: 1000
Faulting application name: ApplicationName.exe, version: 1.0.0.0, time stamp: 0x561cdea0
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18264, time stamp: 0x56e1bd71
Exception code: 0xe0434352
Fault offset: 0x0000000000008a5c
Faulting process id: 0x1194
Faulting application start time: 0x01d1a4fc681673d1
Faulting application path: C:\Program Files (x86)\Converse Solutions Limited\DMSWF_Messanger\ApplicationName.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: b30af804-10ef-11e6-80e2-00155d0e8608
Faulting package full name:
Faulting package-relative application ID:
Log Name: SystemSource: Microsoft-Windows-WASDate: 4/25/2016 3:50:58 PMEvent ID: 5011Task Category: NoneLevel: WarningKeywords: ClassicUser: N/AComputer: XXXX
Description:A process serving application pool 'DMS' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1996'. The data field contains the error number.Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" /> <EventID Qualifiers="32768">5011</EventID> <Version>0</Version> <Level>3</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2016-04-25T10:20:58.000000000Z" /> <EventRecordID>21059</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>System</Channel> <Computer>XXX</Computer> <Security /> </System> <EventData> <Data Name="AppPoolID">DMS</Data> <Data Name="ProcessID">1996</Data> <Binary>6D000780</Binary> </EventData></Event>