System.Security.VerificationException: Operation could destabilize the runtime
- by Rigobert Song
I have a web service which is queried using linq to sql but returns an array of objects.
I keep getting the following error:
System.Security.VerificationException: Operation could destabilize the runtime
When I run a method that uses a linq statement to return an array I get this error, but only on my test server, which is windows server 2008.
Everything works fine in my win 7 machine.
The project is a .net 3.5.
Any ideas what the problem might be?
Thanks
UPDATE:
My linq queries return IQueryable.