Hello,
The security exception is thrown because the .NET application is launched in
a less trusted zone, such as Internet or Local Intranet, and the current
security policy for this zone does not grant the application access to
requested file system, registry or other locations.
A recommended solution is to sign your assemblies with a strong name key
pair and make it fully trusted in the two aforementioned zones. It is a
rather lengthy process but could be automated by creating deployment
projects. You can read more at
http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx.
I hope this helps.
--
Best regards,
Stanimir Stoyanov
ad***@nospam.stoyanoff.info
"DBC User" wrote:
I have a VC++ program which launches a C# program. This one works fine,
when I have both in my workstation. When I install it in a server and
when I launch it from the workstation PC, I am getting
System.Security.SecurityException. Does anyone know why I am getting
this error?
Thanks.