1
我得到一個操作可能會破壞測試機器上的運行時錯誤消息,但不會在本地或在生產服務器上發生。我得到的錯誤是非特定的,並沒有給我提供任何線索。我已經在網上搜索尋找一個解決方案,取得這個具體案例的任何成功。任何建議將不勝感激。操作可能會破壞運行時的穩定性。 MVC App
該項目是一個簡單的MVC 4應用程序,所有的dll部署到bin文件夾。
Operation could destabilize the runtime.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.VerificationException: Operation could destabilize the runtime.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[VerificationException: Operation could destabilize the runtime.]
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +17
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1177
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +305
如果您提供了一個可以重現問題的簡潔代碼示例,它將非常有幫助。 – Amy 2013-04-30 20:03:42
問題是沒有特定的代碼行或URL路由導致此..發生在任何頁面/網址加載。這就是爲什麼它是如此令人費解和難以解決的原因 – miskiw 2013-05-03 20:25:54