The application attempted to perform an operation not allowed by the security policy
- by user16521
I ran this command on the server that has the share of code that my local IIS site set to (Via UNC to that share):
http://support.microsoft.com/kb/320268
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe
-m -ag 1 -url "file:////\\computername\sharename\*"
FullTrust -exclusive on
(obviously I replaced Drive with C, and the…