This question is locked. New answers and comments are not allowed.
We have a lot of sites hosted with Rackspace Cloud and they switched all of their .net servers to run under medium trust and it caused nearly all of the websites we have hosted with them to crash. They were all using NHibernate which apparently won't run under medium trust. OpenAccess has come to our rescue as I've been ripping out nhibernate and replacing it with it and then configuring it to run under medium trust. This has worked for several of the websites but in others I get an error that says "Operation could destabilize the runtime". The user code in all of the websites are pretty similar and don't do anything to crazy. Below is a screenshot of the error I see. Any ideas why I might be getting it and what I can do to resolved? Thanks
Exception Details: System.Security.VerificationException: Operation could destabilize the runtime.
Source Error:
Source File: \\fs1-n01\stor1wc1dfw1\380857\www.reasonsforoptimism.com\web\content\default.aspx.cs Line: 31
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
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:
|
Source File: \\fs1-n01\stor1wc1dfw1\380857\www.reasonsforoptimism.com\web\content\default.aspx.cs Line: 31
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074