T
Thorpe
I have build a .Net (C#) winform application. The application opens and
reads and writes to an xml file that is stored with the assembly.
When I run the program on my local PC everything works.
I have the need for a number of different people to run the application.
I copied the assembly and related files on a server I connected to the a
share on the server from my local PC and tried running the application I got
an error that said
The Application attempted to perform an operation not allowed by the
security policy. The operation required the secuirtyexception use the
Microsoft.Net security policy administration tool.
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib,
if I run the application directly on the server then the application works.
I guess there is an issues running over the network.
The servers and my local pc is part of an Active directory domain
How can I solve this problem and what is the best way to deploy a .Net
application?
thanks in advance
reads and writes to an xml file that is stored with the assembly.
When I run the program on my local PC everything works.
I have the need for a number of different people to run the application.
I copied the assembly and related files on a server I connected to the a
share on the server from my local PC and tried running the application I got
an error that said
The Application attempted to perform an operation not allowed by the
security policy. The operation required the secuirtyexception use the
Microsoft.Net security policy administration tool.
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib,
if I run the application directly on the server then the application works.
I guess there is an issues running over the network.
The servers and my local pc is part of an Active directory domain
How can I solve this problem and what is the best way to deploy a .Net
application?
thanks in advance