I have an MVC3.0 application (.Net 4.0) that works fine on a Windows 7 development computer (with VS2010). The same application works fine on one of the Windows 8 servers with IIS 7.
However, the same application throws an exception below on another Windows 8 server with IIS7.
An operation can destabilize runtime.
Stack trace:
[VerificationException: operation can destabilize runtime.] System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest (HttpContext context, AsyncCallback cb, Object extraData) System.Web.CallHandlerExecutionStep.pecutepep.ppppystem.pecput.pecputpystem.pecputpystem.pecp.pecpept.psept.psept.psep.psept.psept.psept.psep.psept.psep.psep.pecpeptpystem () System.Web.HttpApplication.ExecuteStep (step IExecutionStep, Boolean and completed synchronously)
Please, can someone help me understand what is causing this problem?
Is this the .NET Framework 4.0? (I confirmed that both servers have .Net Framework 4.0)
Is this a problem with IIS and MVC 3.0? (Do I need to install MVC 3.0 separately to run IIS?)
How do we configure a web application to run FULL TRUST software in IIS 7?
Or completely something else (trying to register iis with spnet_regiis.exe -ir didn't help either)
Is it necessary to install this http://www.microsoft.com/en-us/download/details.aspx?id=1491 on a web server?
Any help would be appreciated.
source share