SecurityException mscorlib.dll

As you know I changed my PC recently and on trying to run our nant scripts, I got this error

“An unhandled exception of type ‘System.Security.SecurityException’ occurred in mscorlib.dll”

And neither http://support.microsoft.com/kb/836989 (I already had SP1 and reinstalling didn’t help)
Nor
http://p2p.wrox.com/topic.asp?TOPIC_ID=3077
on that search worked for me.

What finally worked was
Control Panel
Administrative Tools
Microsoft .NET Framework 1.1 Wizards
Adjust .Net security -> this comp -> local intranet=full trust

Comments

Archive

Show more