WcfSvcHost.exeaccessviolationexceptiononeveryWCFprojectVS2013启动时的错误:WcfSvcHost.exe中发生类型为“System.AccessViolationException”的未处理异常。即使在尝试从模板调试新的WCF项目时也不起作用。事件:.NET运行运行例外:()在System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()在System.ServiceModel.Channels.TransportManager.Open(TransportChannelListenerchannelListener)selectTransportManagerCallback)在System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan超时)在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)在System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan超时)System.ServiceModel.ServiceHostBas中的.Channels.CommunicationObject.Open(TimeSpan超时)e.OnOpen(TimeSpan超时)在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)在Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo信息)在Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(System.String)在Microsoft.Tools.SvcHost.MainForm.theBackgroundWorker_DoWork(System.Object,System.ComponentModel.DoWorkEventArgs)在System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object).Object[],System.Object,System.Object[]ByRef)在System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessageSink)中System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)在System.Threading.ExecutionContext.Run(System.Threading.ExecutionCont)ext,System.Threading.ContextCallback,System.Object,Boolean)inSystem.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()inSystem.Threading.ThreadPoolWorkQueue.Dispatch()`应用程序错误事件查看器程序中的应用程序导致错误:WcfSvcHost.exe,版本:12.0.21005.1,时间戳:0x524fc58b模块导致错误:KERNELBASE.dll,版本:6.3.9600.17278,时间戳:0x53eebf2e异常代码:0xe0434352导致进程ID:0x8d8故障应用程序路径:C:程序文件(x86)MicrosoftVisualStudio12.0Common7IDEWcfSvcHost.exe故障模块路径:C:Windowssystem32KERNELBASE.dllWindows:8.1Prox64,所有可用更新VS2013Pro版本12.0.31101.00更新4我将非常感谢任何帮助,敲打我的与此撞墙我在Windows8上使用WebApiSignalROwin时遇到了与HttpListener相同的问题。在我的代码中,我正在调用:WebApp.Start(url);在System.Net.UnsafeNclNativeMethods.SetFileCompletionNotificationModes抛出访问冲突。事实证明,“某些”第三方程序与微软的ifswinsocklsps不兼容。对我来说,它是Lavasoft的“WebCompanion”。(卸载修复了问题)使用.NET4.5SetFileCompletionNotificationModes连接到SQLServerAzure时,请参阅握手异常似乎不起作用https://support.microsoft.com/en-us/kb/2568167希望这有帮助。以上就是C#学习教程:VS2013各WCF项目WcfSvcHost.exe访问冲突异常分享。如果对大家有用,需要进一步了解C#学习教程,希望大家多加关注——本文来自网络收集,不代表立场,如涉及侵权,请点击有权联系管理员删除。如需转载请注明出处:
