Ive got this problem with a windows application Im currently programming. When I debug and run my code I get an error - a message that says:
"Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your administrator, or use the Microsoft.Net Framework Configuration tool..." + some more info
I tried to debug my code and apparently the exeption was throwed when the code was entering the subroutine InitializeComponent() for a windows form.
I recently started programming in VS.Net 2005 and I have no clue how to solve this problem. Can any of you guys help me out? Is there an easy way to grant my application all necessary permissions?