テスト マシンでは実行時エラー メッセージが不安定になる可能性がありますが、ローカルまたは運用サーバーでは発生しません。私が得ているエラーは不明確で、手がかりがありません。この特定のケースで成功することなく、解決策を探してWebを検索しました。どんな提案でも大歓迎です。
このプロジェクトは、すべての dll が bin フォルダーにデプロイされた単純な MVC 4 アプリケーションです。
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