日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

2008r2添加没有应用程序服务器,将应用程序移动到服务器2008R2 64位时的AccessViolationException...

發(fā)布時(shí)間:2025/7/14 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 2008r2添加没有应用程序服务器,将应用程序移动到服务器2008R2 64位时的AccessViolationException... 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

我們正在切換到Windows Server 2008 R2 64位服務(wù)器,并且看到了一些問題。我們的Windows服務(wù)在Windows事件日志中拋出“AccessViolationException”異常。我們的舊版Windows 2003 32位服務(wù)器上從未遇到此問題。唯一的應(yīng)用程序更改是重新編譯為64位應(yīng)用程序。

我不知道這是代碼問題還是服務(wù)器設(shè)置問題。任何人都有任何想法為什么會(huì)這樣?

更新

以下是兩個(gè)堆棧跟蹤:

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...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。