I have the following code in the form load event of a c# windows app written in .net 2.0.
string website = "http://test/test.html
When I invoke the executable which is located in the network drive I get the following message,
Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
When I clicked the details button I saw the exceptions and at the end I have the following error.
The action that failed was:
The type of the first permission that failed was:
The Zone of the assembly that failed was:
What do I need to do to avoid this security error?