0

VB6 DLL を、フロント エンドの Asp.net (Asp コード) と対話する VB.Net コンポーネントに移行しました。現在、DLL および Asp.net アプリケーションは、Windows サーバー 2012 64 ビット プラットフォームに展開されています。DLL のインスタンスは 1 つの ASPX ページで正しく動作しますが、ページが別のページに遷移するときです。新しいページのオブジェクトの新しいインスタンスは、ハンドルされていない例外エラーを出しています。

エラーのスタックトレースは以下の通りです。

システムエラー。

   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
   at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
   at ASP.logincheck_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in I:\Rafiq\29-10-2013\Source Code Esmart Application\LoginCheck.aspx:line 42
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
4

0 に答える 0