2008r2添加没有应用程序服务器,将应用程序移动到服务器2008R2 64位时的AccessViolationException...
我們正在切換到Windows Server 2008 R2 64位服務(wù)器,并且看到了一些問題。我們的Windows服務(wù)在Windows事件日志中拋出“AccessViolationException”異常。我們的舊版Windows 2003 32位服務(wù)器上從未遇到此問題。唯一的應(yīng)用程序更改是重新編譯為64位應(yīng)用程序。
我不知道這是代碼問題還是服務(wù)器設(shè)置問題。任何人都有任何想法為什么會這樣?
更新
以下是兩個堆棧跟蹤:
Application: MyApplication1.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at Devart.Data.Oracle.OracleConnection.BeginTransaction(System.Data.IsolationLevel)
at MyApplication.AlertWorkerBase.persistErrors(System.String, System.String, Char)
at MyApplication.AlertWorkerBase.StartAlertWorker()
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()
Application: MyApplication2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at System.Threading.Thread.InternalCrossContextCallback(System.Runtime.Remoting.Contexts.Context, IntPtr, Int32, System.Threading.InternalCrossContextDelegate, System.Object[])
at System.Runtime.Remoting.Activation.ActivationServices.DoCrossContextActivation(System.Runtime.Remoting.Activation.IConstructionCallMessage)
at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Activation.ActivationServices.Activate(System.Runtime.Remoting.Proxies.RemotingProxy, System.Runtime.Remoting.Activation.IConstructionCallMessage)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at MyApplication2.SessStatsLookup..ctor(Energy.VT.Common.ApplicationParameters)
at MyApplication2.TCPConnection.ClientHandler.Initialize(MyApplication2.ApplicationParameters)
at MyApplication2.TCPConnection.ClientHandler.ServeClient()
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()
總結(jié)
以上是生活随笔為你收集整理的2008r2添加没有应用程序服务器,将应用程序移动到服务器2008R2 64位时的AccessViolationException...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2015年计算机初中,2015北京小升初
- 下一篇: 平安京服务器维护不能打字,《决战!平安京