'System.Security.SecurityException'
Hi everybody,
Everytime i try to run file-operation(create/read from file) code in C# i get this error
-------------------------------------------------------------------
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
--------------------------------------------------------------------
I understand that this is a permission error. I tried changing permissions to the file but even that wont help.
Can somebody help me out with this?
Thnx
|