错误消息:服务器无法处理请求。 --->通用语言运行时检测到无效程序
一个ASP .NET应用程序使用
- SQL Server 2012
- IIS 8.5
- .NET Framework 4.0
- Windows Server 2012 R2
该应用程序在所有负载均衡应用程序服务器中的错误都低于错误。
ERROR - User System, Module Global, Error caught in Application_Error event event
Error Message: Server was unable to process request. ---> Common Language Runtime detected an invalid program.
Stacktrace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
为什么发生此错误?
在所有应用程序服务器中重新启动IIS后,问题就解决了。但是我们需要知道如何触发这种情况,以确保它不会再次发生。
One ASP .NET Application is using
- SQL Server 2012
- IIS 8.5
- .NET Framework 4.0
- Windows server 2012 r2
The application is getting below error in all the load balanced application servers.
ERROR - User System, Module Global, Error caught in Application_Error event event
Error Message: Server was unable to process request. ---> Common Language Runtime detected an invalid program.
Stacktrace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Why this error is occurring?
After restarting the IIS in all application servers, the issue got resolved. But we need to know how this is getting triggered to ensure it doesn’t happen again.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论