I am getting following error at run-time \"Loading this assembly would produce a different grant set from other instances\" when calling a vb.net 1.1 assembly from a ASP.net
I had this error when I installed .NET 4.5.1.
I fixed it by deleting the .suo files in my solution folder (you may have to show hidden files to see them).
Next time I started it up everything was back to normal.