IIS 7 の ASP.NET アプリケーションで次の例外が発生する理由は何ですか? アプリケーション全体を再起動する未処理の例外です。
例外: System.AccessViolationException
メッセージ:保護されたメモリを読み書きしようとしました。これは多くの場合、他のメモリが破損していることを示しています。
スタックトレース:
in System.Web.Hosting.UnsafeIISMethods.MgdIsLastNotification(IntPtr pRequestContext, RequestNotificationStatus dwStatus)
in System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status)
in System.Web.HttpRuntime.OnRequestNotificationCompletionHelper(IAsyncResult ar)
in System.Web.HttpRuntime.OnRequestNotificationCompletion(IAsyncResult ar)
in System.Web.HttpAsyncResult.Complete(Boolean synchronous, Object result, Exception error, RequestNotificationStatus status)
in System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
in System.Web.HttpApplication.ResumeStepsWaitCallback(Object error)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
[更新]
システム: Windows Web Server 2008 64 ビット。
アプリケーションの詳細:ページ アーキテクチャを使用しない ASP.NET アプリケーション。カスタムの http 同期および非同期ハンドラーを使用してリクエストを処理します。ThreadPool からの並列スレッド、または Thread クラスによって作成された並列スレッドも実行されています。