本文介绍了Visual Studio在调试期间崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 尝试在Visual Studio 2017中调试项目时遇到了一个奇怪的问题。调试会话启动,开发环境立即崩溃。这种情况大约发生在5次中。解决方案在VS 2015中无错误地在调试中启动。 在崩溃时引发了三个事件。 任何想法可能是什么导致了这个?谢谢。 .NET运行时 日志名称:应用程序来源:。 NET Runtime 日期:18/09/2017 11:07:00 事件ID:1026 任务类别:无等级:错误关键字:经典用户:N / A 计算机: - 描述:应用程序:devenv.exe 框架版本:v4.0.30319 描述:该过程终止由于未处理的异常。 异常信息:System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)的System.ArgumentException System.Collections.Generic.Dictionary`2上的 [[System .__ Canon,mscorlib,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]]。Insert(System .__ Canon,System .__ Canon,Boolean)在System.Linq.Enumerable.ToDictionary [[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = [b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]](System.Collections.Generic.IEnumerable`1< System .__ Canon>,System.Func`2< System。 __Canon,System .__ Canon>,System.Func`2< System .__ Canon,System .__ Canon>,System.Collections.Generic.IEqualityComparer`1< System .__ Canon>) at Microsof t.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +< DoLoadEnumsAsync> d__6.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System .Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +<> c__DisplayClass5_0 +<<< LoadEnumsAsync> b__0> d。 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)中的MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper +< SafeAsyncVoid> d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore +<> c。< ThrowAsync> b__6_1( System.Forh)System.Threading.QueueUserWorkItemCallback.WaitC上的 allback_Context(System.Object) 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.QuereadingUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch () at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 事件Xml:<事件xmlns =" http://schemas.microsoft。 COM /赢/ 2004/08 /事件/事件"> < System> < Provider Name =" .NET Runtime" /> < EventID Qualifiers =" 0"> 1026< / EventID> < Level> 2< / Level> < Task> 0< / Task> < Keywords> 0x80000000000000< / Keywords> < TimeCreated SystemTime =" 2017-09-18T10:07:00.000000000Z" /> < EventRecordID> 1202767< / EventRecordID> <频道>应用< /频道> < Computer> - < / Computer> < Security /> < / System> < EventData> < Data>应用程序:devenv.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程终止。 异常信息:System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)的System.ArgumentException System.Collections.Generic.Dictionary`2上的 [[System .__ Canon,mscorlib,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]]。Insert(System .__ Canon,System .__ Canon,Boolean)在System.Linq.Enumerable.ToDictionary [[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = [b77a5c561934e089],[System .__ Canon,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]](System.Collections.Generic.IEnumerable`1& lt; System .__ Canon& gt;,System.Func` 2& lt; System .__ Canon,System .__ Canon& gt;,System.Func`2& lt; System .__ Canon,System .__ Canon& gt;,System.Collections.Generic.IEqualityComparer`1& lt; System .__ Ca非& gt;) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +& lt; DoLoadEnumsAsync& gt; d__6.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess( System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry +& amp; lt;& gt; c__DisplayClass5_0 +& lt;& lt; LoadEnumsAsync& gt; b__0& gt; d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks。任务) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper +& amp; lt; SafeAsyncVoid& gt; d__0.MoveNext()在System.Runtime.CompilerServices.AsyncMethodBuilderCore +& lt;& gt; c。& lt; ThrowAsync& amp; gt; b__6_1(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 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.QueueUserWorkItemCallback。 System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() < / Data> < / EventData> < / Event> 应用程序错误 日志名称:应用程序来源:应用程序错误日期:18/09/2017 11:07:02 事件ID:1000 任务类别:(100)等级:错误关键字:经典用户:N / A 计算机: - 描述:错误应用程序名称:devenv.exe,版本:15.0.26730.3,time戳记:0x598cd422 错误模块名称:KERNELBASE.dll,版本:6.1.7601.23864,时间戳:0x595fa536 异常代码:0xe0434352 错误偏移:0x0000c54f 错误进程id:0x1910 错误的应用程序启动时间:0x01d3305d39944bdf 错误的应用程序路径:C:\Program Files(x86)\ Mysoftoft Visual Studio \\\2017 \Professional\Common7\IDE\devenv.exe 错误模块路径:C:\ WINDOWS \ syswow64 \ KERNELBASE.dll 报告ID:1d30ef51-9c59-11e7-8b5b-90b11c7bac43 事件Xml:<事件xmlns =" http://schemas.microsoft.com/win/2004/08/events/event"> < System> < Provider Name =" Application Error" /> < EventID Qualifiers =" 0"> 1000< / EventID> < Level> 2< / Level> < Task> 100< / Task> < Keywords> 0x80000000000000< / Keywords> < TimeCreated SystemTime =" 2017-09-18T10:07:02.000000000Z" /> < EventRecordID> 1202769< / EventRecordID> <频道>应用< /频道> < Computer> - < / Computer> < Security /> < / System> < EventData> < Data> devenv.exe< / Data> < Data> 15.0.26730.3< / Data> < Data> 598cd422< / Data> < Data> KERNELBASE.dll< / Data> < Data> 6.1.7601.23864< / Data> < Data> 595fa536< / Data> < Data> e0434352< / Data> < Data> 0000c54f< / Data> < Data> 1910< / Data> < Data> 01d3305d39944bdf< / Data> < Data> C:\Program Files(x86)\ Microsoft Visual Studio \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ < Data> C:\ WINDOWS \ syswow64 \ KERNELBASE.dll< / Data> < Data> 1d30ef51-9c59-11e7-8b5b-90b11c7bac43< / Data> < / EventData> < / Event> 应用 日志名称:申请来源:申请日期:18/09/2017 11:08:13 活动编号:0 任务类别:无等级:错误关键字:经典用户:N / A 计算机: - 描述:无法找到源应用程序中事件ID 0的描述。引发此事件的组件未安装在本地计算机上,或者安装已损坏。您可以在本地计算机上安装或修复该组件。 如果事件源自另一台计算机,则显示信息必须与事件一起保存。 事件中包含以下信息: 错误处理程序异常:System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d) 。 ---> System.IO.IOException:读取操作失败,请参阅内部异常。 ---> System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---> System.IO.PipeException:从管道读取错误:无法识别的错误109(0x6d)。 at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult,Int32 error,Int32 numBytes) ---内部异常堆栈跟踪结束--- 在System.Runtime.AsyncResult .End [TAsyncResult](IAsyncResult结果) at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) ---内部异常堆栈跟踪结束--- 在System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult) at System.ServiceModel.Channels.StreamConnection.EndRead() ---内部异常堆栈跟踪结束--- 在System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult结果)在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult结果,消息和消息) System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive上的(IAsyncResult结果,RequestContext& reque) stContext)在System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& requestContext)\\\ at System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& requestContext) 消息资源存在,但在字符串/消息表中找不到消息 事件Xml:<事件xmlns =" http://schemas.microsoft.com/win/2004/ 08 /活动/事件"> < System> < Provider Name =" Application" /> < EventID Qualifiers =" 0"> 0< / EventID> < Level> 2< / Level> < Task> 0< / Task> < Keywords> 0x80000000000000< / Keywords> < TimeCreated SystemTime =" 2017-09-18T10:08:13.000000000Z" /> < EventRecordID> 1202773< / EventRecordID> <频道>应用< /频道> < Computer> - < / Computer> < Security /> < / System> < EventData> < Data>错误处理程序异常:System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---&安培; GT; System.IO.IOException:读取操作失败,请参阅内部异常。 ---&安培; GT; System.ServiceModel.CommunicationException:从管道读取错误:无法识别的错误109(0x6d)。 ---&安培; GT; System.IO.PipeException:从管道读取错误:无法识别的错误109(0x6d)。 at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult,Int32 error,Int32 numBytes) ---内部异常堆栈跟踪结束--- 在System.Runtime.AsyncResult .End [TAsyncResult](IAsyncResult结果) at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) ---内部异常堆栈跟踪结束--- 在System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult) at System.ServiceModel.Channels.StreamConnection.EndRead() ---内部异常堆栈跟踪结束--- 在System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult结果)在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& amp; amp;消息)在System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& am)磷; requestContext)System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext)\\\ at $ System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult result) 在System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result,Message& amp; message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result,RequestContext& amp; requestContext)< / Data> < / EventData> < / Event> 解决方案 I've hit an odd issue when attempting to debug a project in Visual Studio 2017. The debug session launches and the development environment immediately crashes. This is happening about 3 times out of 5. The solution launches in debug without error in VS 2015. There are three events raised at the time of the crash. Any ideas what may be causing this? Thanks..NET RuntimeLog Name: ApplicationSource: .NET RuntimeDate: 18/09/2017 11:07:00Event ID: 1026Task Category: NoneLevel: ErrorKeywords: ClassicUser: N/AComputer: --Description:Application: devenv.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.ArgumentException at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource) at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean) at System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<DoLoadEnumsAsync>d__6.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<>c__DisplayClass5_0+<<LoadEnumsAsync>b__0>d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper+<SafeAsyncVoid>d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-09-18T10:07:00.000000000Z" /> <EventRecordID>1202767</EventRecordID> <Channel>Application</Channel> <Computer>--</Computer> <Security /> </System> <EventData> <Data>Application: devenv.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.ArgumentException at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource) at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean) at System.Linq.Enumerable.ToDictionary[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Func`2<System.__Canon,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<DoLoadEnumsAsync>d__6.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.Diagnostics.Model.EnumTypeRegistry+<>c__DisplayClass5_0+<<LoadEnumsAsync>b__0>d.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.DesignTools.RuntimeHost.Utility.TaskHelper+<SafeAsyncVoid>d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</Data> </EventData></Event>Application ErrorLog Name: ApplicationSource: Application ErrorDate: 18/09/2017 11:07:02Event ID: 1000Task Category: (100)Level: ErrorKeywords: ClassicUser: N/AComputer: --Description:Faulting application name: devenv.exe, version: 15.0.26730.3, time stamp: 0x598cd422Faulting module name: KERNELBASE.dll, version: 6.1.7601.23864, time stamp: 0x595fa536Exception code: 0xe0434352Fault offset: 0x0000c54fFaulting process id: 0x1910Faulting application start time: 0x01d3305d39944bdfFaulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exeFaulting module path: C:\WINDOWS\syswow64\KERNELBASE.dllReport Id: 1d30ef51-9c59-11e7-8b5b-90b11c7bac43Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-09-18T10:07:02.000000000Z" /> <EventRecordID>1202769</EventRecordID> <Channel>Application</Channel> <Computer>--</Computer> <Security /> </System> <EventData> <Data>devenv.exe</Data> <Data>15.0.26730.3</Data> <Data>598cd422</Data> <Data>KERNELBASE.dll</Data> <Data>6.1.7601.23864</Data> <Data>595fa536</Data> <Data>e0434352</Data> <Data>0000c54f</Data> <Data>1910</Data> <Data>01d3305d39944bdf</Data> <Data>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe</Data> <Data>C:\WINDOWS\syswow64\KERNELBASE.dll</Data> <Data>1d30ef51-9c59-11e7-8b5b-90b11c7bac43</Data> </EventData></Event>ApplicationLog Name: ApplicationSource: ApplicationDate: 18/09/2017 11:08:13Event ID: 0Task Category: NoneLevel: ErrorKeywords: ClassicUser: N/AComputer: --Description:The description for Event ID 0 from source Application cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.The following information was included with the event:Error Handler Exception: System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes) --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) --- End of inner exception stack trace --- at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult) at System.ServiceModel.Channels.StreamConnection.EndRead() --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext) \r\n at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)the message resource is present but the message is not found in the string/message tableEvent Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application" /> <EventID Qualifiers="0">0</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-09-18T10:08:13.000000000Z" /> <EventRecordID>1202773</EventRecordID> <Channel>Application</Channel> <Computer>--</Computer> <Security /> </System> <EventData> <Data>Error Handler Exception: System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes) --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) --- End of inner exception stack trace --- at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult) at System.ServiceModel.Channels.StreamConnection.EndRead() --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext) \r\n at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message) at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)</Data> </EventData></Event> 解决方案 这篇关于Visual Studio在调试期间崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-19 11:20