Attempting transparent security method "System.Web.WebPages.Administration.SiteAdmin.RegisterAdminModule ()" to access a critical critical state
I am getting the following error on an Amazon EC2 instance:
Attempt by security transparent method 'System.Web.WebPages.Administration.SiteAdmin.RegisterAdminModule()' to access security critical method 'System.Web.WebPages.ApplicationPart..ctor(System.Reflection.Assembly, System.String)' failed.
There is nothing on the internet in this particular error message. I am running an ASP.NET MVC 5 application. I am suspicious of an Amazon EC2 instance to an extent because I remember reading something about disabling Amazon AWS security in .NET parsing.
Any guidance is welcome.
+3
source to share