I am getting the "Operation could destablize the runtime exception". I goggled quite a bit, looks like exception has to do with conflicting assemblies being loaded at runtime. So, here are couple of things
Now, the problem might be something I installed in the machine that's affecting this. some runtime / SP install etc. Is there a way to debug / figure out what's happening here. I looked and searched for NewtonSoft.dll when the app runs and it gets right version in the temporary asp.net files. ?
Any help could be greatly appreciated. I don't want to go through installing my runtime.
This exception can occur when you have Visual Studio Ultimate and IntelliTrace activated.
Try to add Newtonsoft.dll on IntelliTrace ignore list:
This bug is fixed in the latest version of Json.NET - http://james.newtonking.com/archive/2012/01/23/json-net-4-0-release-6-serialization-performance.aspx
This is a known issue.
You should be able to fix this by removing all references to the JSON .NET library and adding them again to the projects.
See also:
http://json.codeplex.com/workitem/20624
JSON.Net throwing System.Security.VerificationException: Operation could destabilize the runtime
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With