本文介绍了DistributedCacheService.exe与System.Runtime.CallbackException-System.NullReferenceException崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我有两个分布式缓存服务器集群,它们都显示DistributedCacheService.exe在不可预测的时间崩溃。每台服务器平均每周发生4-7次。 Windows 2012事件日志显示事件ID 1026,1000和7031的模式: 日志名称:     ;&NBSP;申请 来源:        ; .NET运行时 事件ID:      1026 描述: Application:DistributedCacheService.exe 框架版本:v4.0.30319 描述:由于未处理的异常,该过程终止。 异常信息:系统.Runtime.CallbackException 日志名称:     申请 来源:        ;应用程序错误 事件ID:      1000 描述: Faulting应用程序名称:DistributedCacheService.exe,版本:1.0.4632.0,时间戳:0x4eafeccf 错误模块名称:KERNELBASE.dll,版本:6.3.9600.17055,时间戳:0x532954fb 异常代码:0xe0434352 故障偏移:0x0000000000005bf8 日志名称:     系统 来源:        ;服务控制经理 事件ID:      7031 描述: AppFabric缓存服务服务意外终止。 它已经完成了这一次。 将在60000毫秒内采取以下纠正措施:重新启动服务。 WER创建的完整崩溃转储显示System.Runtime.CallbackException 作为崩溃原因的System.NullReferenceException的内部异常。 System.Runtime.CallbackException    Async Callback引发异常。     System.Runtime.AsyncResult.Complete(Boolean)     System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)     System.Runtime.Fx + AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)     System.Runtime.AsyncResult.Comp lete(布尔)     System.ServiceModel.Channels.ServerSessionPreambleConnectionReader + ServerFramingDuplexSessionChannel + OpenAsyncResult.OnWriteUpgradeResponse(System.Object)     System.Runtime.Fx + WaitThunk.UnhandledExceptionFrame(System.Object)     System.ServiceModel.Channels.SocketConnection.OnSendAsync(System.Object,System.Net.Sockets.SocketAsyncEventArgs)     System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)     System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)     System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)     System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError,Int32,System.Net.Sockets.SocketFlags)     System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32,UInt32,System.Threading.NativeOverlapped *)     System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32,UInt32,System.Threading.NativeOverlapped *)     System.NullReferenceException 对象引用未设置为对象的实例。     System.Runtime.AsyncResult.End [[System .__ Canon,mscorlib]](System.IAsyncResult)     System.ServiceModel.Channels.CommunicationObject.EndOpen(System.IAsyncResult)     Microsoft.ApplicationServer.Caching.WcfServerChannel.OnOpen(System.IAsyncResult)     System.Runtime.AsyncResult.Complete(Boolean)     我在windbg.exe中打开了转储,并使用.sos扩展名来深入探测(!do)到堆栈跟踪中... Microsoft.ApplicationServer.Caching.WcfServerChannel System.NullReferenceException System.String     异步回调引发异常。 System.Runtime.CallbackException System.NullReferenceException System.String     异步回调引发异常。 System.Runtime.CallbackException System.NullReferenceException System.ServiceModel.Channels.BufferedConnection System.ServiceModel.Channels.InitialServerConnectionReader + UpgradeConnectionAsyncResult System.NullReferenceException System.NullReferenceException System.Runtime.Fx + AsyncThunk System.ServiceModel.Channels.ConnectionStream System.Runtime.CallbackException System.Runtime.CallbackException System.Runtime.Fx + WaitThunk System.NullReferenceException System.NullReferenceException System.Runtime.IOThreadTimer + TimerManager System.Runtime.CallbackException System.Net.FixedSizeReader System.ServiceModel.Channels.SocketConnection ...但是无法弄清楚究竟是什么。 我可以从Installed Updates页面看到它同时包含AppFabric v1.1 CU1(kb 2671763)和CU4(kb 2800726和版本1.1.2016.32)。所以安装CU5( http://support.microsoft.com/en-us/kb/2932678 )是我们可以做的事情。有没有人对我有任何其他想法?  此外,这些服务器可能正在运行不使用保留内存的vmware主机(使用动态内存),所以我可能会尝试移动到物理服务器。 当我运行!在异常/崩溃之前对System.Net.Sockets.Socket对象执行操作时,我可以看到远程端点使用临时端口57284作为系统的一部分。 Net.IPEndPoint但我无法将转发的IP地址哄骗。我的调试功夫不是那么好。 !dae始终显示可能相关的大量异常,并且看起来不太健康。什么可能导致这样的通信问题?   1个例外:0x0000000085ecb038    生成:1来自.NET v4.0.30319.34014     HResult:0x80131501    类型:System.Runtime.CallbackException    消息:异步回拨引发了异常。      内部例外:0x00000001860a3708     Stack Trace:     SP   &n BSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; IP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;功能     000000001dc89ea0 00007ffe984cf38e System.Runtime.AsyncResult.Complete(Boolean)     000000001dc8e420 00007ffe98438f82 System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)     000000001dc8e4a0 00007ffe984d0abd System.Runtime.Fx + AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)     000000001dc8e4f0 00007ffe984cf31c System.Runtime.AsyncResult.Complete(Boolean)     000000001dc8e5a0 00007ffe97c83fae System.ServiceModel.Channels.ServerSessionPreambleConnectionReader + ServerFramingDuplexSessionChannel + OpenAsyncResult.OnWriteUpgradeResponse(System.Object)     000000001dc8e620 00007ffe984d37d1 System.Runtime.Fx + WaitThunk.UnhandledExceptionFrame(System.Object)     000000001dc8e670 00007ffe979fc2ab System.ServiceModel.Channels.SocketConnection.OnSendAsync(System.Object,System.Net.Sockets.SocketAsyncEventArgs)     000000001dc8e6d0 00007ffe9d488355 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)     000000001dc8e830 00007ffe9d4880c9 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)     000000001dc8e860 00007ffe9d4880a7 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)     000000001dc8e8b0 00007ffe9c519d16 System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError,Int32,System.Net.Sockets.SocketFlags)     000000001dc8ea10 00007ffe9c5190c0 System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32,UInt32,System.Threading.NativeOverlapped *)     000000001dc8ea60 00007ffe9d525db6 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32,UInt32,System.Threading.NativeOverlapped *) 1例外:0x000000008acb8d28    在代:0来自.NET v4.0.30319.34014     HResult:0x80004005    键入:System.Net.Sockets.SocketException    消息:远程主机强行关闭现有连接    堆栈跟踪: 1例外:0x00000001860a3708    在Generation:1中来自.NET v4.0.30319.34014     HResult:0x80004003    键入:System.NullReferenceException    消息:对象引用未设置为对象的实例。    堆栈跟踪:     SP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; IP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;功能     000000001dc8e250 00007ffe984cf8aa System.Runtime.AsyncResult.End [[System .__ Canon,mscorlib]](System.IAsyncResult)     000000001dc8e290 00007ffe9783c750 System.ServiceModel.Channels.CommunicationObject.EndOpen(System.IAsyncResult)     000000001dc8e2c0 00007ffe403846d7 Microsoft.ApplicationServer.Caching.WcfServerChannel.OnOpen(System.IAsyncResult)     000000001dc8e370 00007ffe9843580a System.Runtime.AsyncResult.Complete(Boolean) 2例外:0x000000007fff12c8 0x000000007fff1368     In Generation:2 from .NET v4.0.30319.34014     HResult:0x80131530    键入:System.Threading.ThreadAbortException    消息:< null>    堆栈跟踪: 3个例外:0x000000018aeab718 0x000000028a2ee0d8 0x000000038c1b62e0    在代:0来自.NET v4.0.30319.34014     HResult:0x80131501    键入:System.ServiceModel.CommunicationException    消息:套接字连接已中止。这可能是由于处理消息的错误或远程主机超出接收超时或基础网络资源问题引起的。本地套接字超时为'00:10:00'。      内部例外:0x000000018aeab578    堆栈跟踪: 633例外:0x00000000834137d8 0x0000000085e5d6d0 0x0000000085e5dda8 0x0000000085e5e6d0 0x0000000085e827d0 0x0000000085e88be0 0x0000000085e90be0 0x0000000085e91558 0x0000000085ea5ca0 0x0000000085ec0920 ...    在.NET v4.0.30319.34014的混合Generations中,    HResult:0x80131620    键入:System.IO.IOException    消息:读取操作失败,请参阅内部异常。      内部异常:0x0000000083413600    堆栈跟踪:     SP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; IP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;功能     0000000021dac1e0 00007ffe9cd7b401 System.Net.Security.NegotiateStream.EndRead(System.IAsyncResult)     0000000021dac220 00007ffe97038eb0 System.ServiceModel.Channels.StreamConnection.EndRead() 654个例外:0x000000008340d850 0x0000000085e047c8 0x0000000085e055b0 0x0000000085e12d48 0x0000000085e1b570 0x0000000085e286f8 0x0000000085e36a10 0x0000000085e3c850 0x0000000085e488b0 0x0000000085e50208 ... &NBSP; &NBSP;&NBSP;在.NET v4.0.30319.34014的混合Generations中,    HResult:0x80004005    键入:System.Net.Sockets.SocketException    消息:远程主机强行关闭现有连接    堆栈跟踪:     SP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; IP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;功能     0000000021dae760 00007ffe9803b0aa System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     0000000021dae7a0 00007ffe9703b5e4 System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(System.Object的,System.Net.Sockets.SocketAsyncEventArgs) 1284个例外:0x0000000083413600 0x0000000083413930 0x0000000085e36e08 0x0000000085e4bc98 0x0000000085e50600 0x0000000085e5ade8 0x0000000085e5d4f8 0x0000000085e5d828 0x0000000085e5db80 0x0000000085e5df00 .. 。$    在.NET v4.0.30319.34014的混合Generations中,    HResult:0x80131501    键入:System.ServiceModel.CommunicationException    消息:套接字连接已中止。这可能是由于处理消息的错误或远程主机超出接收超时或基础网络资源问题引起的。本地套接字超时为'00:10:00'。      内部例外:0x000000008340d850    堆栈跟踪:     SP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; IP&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;功能     0000000021dae5b0 00007ffe984cf8aa System.Runtime.AsyncResult.End [[System .__ Canon,mscorlib]](System.IAsyncResult)     0000000021dae5f0 00007ffe97c7fc83 System.ServiceModel.Channels.ConnectionStream + ReadAsyncResult.End(System.IAsyncResult)     0000000021dae620 00007ffe9c516890 System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)   谢谢! 解决方案 您有没有找到解决方案? 或从哪里开始查找错误? 我遇到同样的问题我们的sharepoint / project 2013服务器。 I have a two distributed cache servers clustered and they're both showing that DistributedCacheService.exe is crashing at unpredictable times. It is happening maybe an average of 4-7 times per week on each server. The windows 2012 event logs show the pattern of event ID 1026, 1000, and 7031:Log Name:      ApplicationSource:        .NET RuntimeEvent ID:      1026Description:Application: DistributedCacheService.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.Runtime.CallbackExceptionLog Name:      ApplicationSource:        Application ErrorEvent ID:      1000Description:Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccfFaulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fbException code: 0xe0434352Fault offset: 0x0000000000005bf8Log Name:      SystemSource:        Service Control ManagerEvent ID:      7031Description:The AppFabric Caching Service service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.The full crash dump created by WER shows a System.Runtime.CallbackException with an inner exception of a System.NullReferenceException as the cause of the crash.System.Runtime.CallbackException   Async Callback threw an exception.   System.Runtime.AsyncResult.Complete(Boolean)   System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)   System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)   System.Runtime.AsyncResult.Complete(Boolean)   System.ServiceModel.Channels.ServerSessionPreambleConnectionReader+ServerFramingDuplexSessionChannel+OpenAsyncResult.OnWriteUpgradeResponse(System.Object)   System.Runtime.Fx+WaitThunk.UnhandledExceptionFrame(System.Object)   System.ServiceModel.Channels.SocketConnection.OnSendAsync(System.Object, System.Net.Sockets.SocketAsyncEventArgs)   System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)   System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)   System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)   System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32, System.Net.Sockets.SocketFlags)   System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)   System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)   System.NullReferenceExceptionObject reference not set to an instance of an object.   System.Runtime.AsyncResult.End[[System.__Canon, mscorlib]](System.IAsyncResult)   System.ServiceModel.Channels.CommunicationObject.EndOpen(System.IAsyncResult)   Microsoft.ApplicationServer.Caching.WcfServerChannel.OnOpen(System.IAsyncResult)   System.Runtime.AsyncResult.Complete(Boolean)   I opened the dump in windbg.exe and used the .sos extension to probe deeper (!do) into the stacktrace . . .Microsoft.ApplicationServer.Caching.WcfServerChannelSystem.NullReferenceExceptionSystem.String   Async Callback threw an exception.System.Runtime.CallbackExceptionSystem.NullReferenceExceptionSystem.String   Async Callback threw an exception.System.Runtime.CallbackExceptionSystem.NullReferenceExceptionSystem.ServiceModel.Channels.BufferedConnectionSystem.ServiceModel.Channels.InitialServerConnectionReader+UpgradeConnectionAsyncResultSystem.NullReferenceExceptionSystem.NullReferenceExceptionSystem.Runtime.Fx+AsyncThunkSystem.ServiceModel.Channels.ConnectionStreamSystem.Runtime.CallbackExceptionSystem.Runtime.CallbackExceptionSystem.Runtime.Fx+WaitThunkSystem.NullReferenceExceptionSystem.NullReferenceExceptionSystem.Runtime.IOThreadTimer+TimerManagerSystem.Runtime.CallbackExceptionSystem.Net.FixedSizeReaderSystem.ServiceModel.Channels.SocketConnection. . . but cannot figure out what precisely is null.I can see from the Installed Updates page that it has both AppFabric v1.1 CU1 (kb 2671763) and CU4 (kb 2800726 and version 1.1.2016.32). So installing CU5 (http://support.microsoft.com/en-us/kb/2932678) is something we can do. Does anyone have any additional ideas for me? Also these servers are probably running an vmware hosts that are not using reserved memory (are using dynamic memory) so I may try to move to physical servers.When I run !do on System.Net.Sockets.Socket object just prior to the exception/crash, I can see that the remote endpoint is using ephemeral port 57284 as part of the System.Net.IPEndPoint but I can't coax the IP address out of the dump. My debugging kung-fu isn't that good.!dae consistently shows a zillion exceptions that might be related and don't look too healthy. What could cause communication problems like this? 1 exceptions: 0x0000000085ecb038     In Generation: 1 from .NET v4.0.30319.34014    HResult: 0x80131501    Type: System.Runtime.CallbackException    Message: Async Callback threw an exception.      Inner Exception: 0x00000001860a3708    Stack Trace:    SP               IP               Function    000000001dc89ea0 00007ffe984cf38e System.Runtime.AsyncResult.Complete(Boolean)    000000001dc8e420 00007ffe98438f82 System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)    000000001dc8e4a0 00007ffe984d0abd System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)    000000001dc8e4f0 00007ffe984cf31c System.Runtime.AsyncResult.Complete(Boolean)    000000001dc8e5a0 00007ffe97c83fae System.ServiceModel.Channels.ServerSessionPreambleConnectionReader+ServerFramingDuplexSessionChannel+OpenAsyncResult.OnWriteUpgradeResponse(System.Object)    000000001dc8e620 00007ffe984d37d1 System.Runtime.Fx+WaitThunk.UnhandledExceptionFrame(System.Object)    000000001dc8e670 00007ffe979fc2ab System.ServiceModel.Channels.SocketConnection.OnSendAsync(System.Object, System.Net.Sockets.SocketAsyncEventArgs)    000000001dc8e6d0 00007ffe9d488355 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    000000001dc8e830 00007ffe9d4880c9 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    000000001dc8e860 00007ffe9d4880a7 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)    000000001dc8e8b0 00007ffe9c519d16 System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32, System.Net.Sockets.SocketFlags)    000000001dc8ea10 00007ffe9c5190c0 System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)    000000001dc8ea60 00007ffe9d525db6 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)1 exceptions: 0x000000008acb8d28     In Generation: 0 from .NET v4.0.30319.34014    HResult: 0x80004005    Type: System.Net.Sockets.SocketException    Message: An existing connection was forcibly closed by the remote host    Stack Trace:1 exceptions: 0x00000001860a3708     In Generation: 1 from .NET v4.0.30319.34014    HResult: 0x80004003    Type: System.NullReferenceException    Message: Object reference not set to an instance of an object.    Stack Trace:    SP               IP               Function    000000001dc8e250 00007ffe984cf8aa System.Runtime.AsyncResult.End[[System.__Canon, mscorlib]](System.IAsyncResult)    000000001dc8e290 00007ffe9783c750 System.ServiceModel.Channels.CommunicationObject.EndOpen(System.IAsyncResult)    000000001dc8e2c0 00007ffe403846d7 Microsoft.ApplicationServer.Caching.WcfServerChannel.OnOpen(System.IAsyncResult)    000000001dc8e370 00007ffe9843580a System.Runtime.AsyncResult.Complete(Boolean)2 exceptions: 0x000000007fff12c8 0x000000007fff1368     In Generation: 2 from .NET v4.0.30319.34014    HResult: 0x80131530    Type: System.Threading.ThreadAbortException    Message: <null>    Stack Trace:3 exceptions: 0x000000018aeab718 0x000000028a2ee0d8 0x000000038c1b62e0     In Generation: 0 from .NET v4.0.30319.34014    HResult: 0x80131501    Type: System.ServiceModel.CommunicationException    Message: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.      Inner Exception: 0x000000018aeab578    Stack Trace:633 exceptions: 0x00000000834137d8 0x0000000085e5d6d0 0x0000000085e5dda8 0x0000000085e5e6d0 0x0000000085e827d0 0x0000000085e88be0 0x0000000085e90be0 0x0000000085e91558 0x0000000085ea5ca0 0x0000000085ec0920 ...    In mixed Generations from .NET v4.0.30319.34014    HResult: 0x80131620    Type: System.IO.IOException    Message: The read operation failed, see inner exception.      Inner Exception: 0x0000000083413600    Stack Trace:    SP               IP               Function    0000000021dac1e0 00007ffe9cd7b401 System.Net.Security.NegotiateStream.EndRead(System.IAsyncResult)    0000000021dac220 00007ffe97038eb0 System.ServiceModel.Channels.StreamConnection.EndRead()654 exceptions: 0x000000008340d850 0x0000000085e047c8 0x0000000085e055b0 0x0000000085e12d48 0x0000000085e1b570 0x0000000085e286f8 0x0000000085e36a10 0x0000000085e3c850 0x0000000085e488b0 0x0000000085e50208 ...    In mixed Generations from .NET v4.0.30319.34014    HResult: 0x80004005    Type: System.Net.Sockets.SocketException    Message: An existing connection was forcibly closed by the remote host    Stack Trace:    SP               IP               Function    0000000021dae760 00007ffe9803b0aa System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()    0000000021dae7a0 00007ffe9703b5e4 System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(System.Object, System.Net.Sockets.SocketAsyncEventArgs)1284 exceptions: 0x0000000083413600 0x0000000083413930 0x0000000085e36e08 0x0000000085e4bc98 0x0000000085e50600 0x0000000085e5ade8 0x0000000085e5d4f8 0x0000000085e5d828 0x0000000085e5db80 0x0000000085e5df00 ...    In mixed Generations from .NET v4.0.30319.34014    HResult: 0x80131501    Type: System.ServiceModel.CommunicationException    Message: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.      Inner Exception: 0x000000008340d850    Stack Trace:    SP               IP               Function    0000000021dae5b0 00007ffe984cf8aa System.Runtime.AsyncResult.End[[System.__Canon, mscorlib]](System.IAsyncResult)    0000000021dae5f0 00007ffe97c7fc83 System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult.End(System.IAsyncResult)    0000000021dae620 00007ffe9c516890 System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult) Thanks! 解决方案 Did you ever find a solution for this?or where to start to find the error?I have the same issue on our sharepoint/project 2013 server. 这篇关于DistributedCacheService.exe与System.Runtime.CallbackException-System.NullReferenceException崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 07:56