Was kann der Grund für die folgende Ausnahme in ASP.NET-Anwendung unter IIS 7 sein? Es ist eine nicht behandelte Ausnahme, die die gesamte Anwendung neu startet.IIS 7, ASP.NET: AccessViolationException
Ausnahme: System.AccessViolationException
Nachricht: Versuchte geschützten Speicher zu lesen oder zu schreiben. Dies ist oft ein Hinweis darauf, dass anderer Speicher beschädigt wurde.
Stacktrace:
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)
[UPD]
System: Windows Web Server 2008 64-Bit.
Anwendungsdetails: ASP.NET-Anwendung, die keine Seiten Architektur verwendet. Es verarbeitet Anforderungen mit benutzerdefinierten HTTP-Sync- und Async-Handlern. Es werden auch parallele Threads von ThreadPool oder von Thread erstellte Klassen ausgeführt.
Haben Sie eine Lösung für Ihr Problem gefunden? Ich habe das gleiche Problem und kann keine Lösung finden. – SebastianStehle
Entschuldigen Sie die Störung, haben Sie irgendwelche Ideen? Was war das Problem in deiner Situation? – SebastianStehle