This is not a file system permission issue - it's about "trust . "
Is this a web application? If so, you need to increase the level of trust.
You may also have problems if the program is running from a network share or if it loads an assembly from a network share (although I think some of these rules have changed over the course of .Net 2 life).
Google.net "full trust" - or, in fact, the exception you receive - you will receive a response.
Like this: System.Security.Permissions.FileIOPermission when using MEF to load dll
(Update)
Since this is not an Asp.Net application, you may need to request permission for a named permission set — request a set of "FullTrust" as shown in the example.
However, I think that something is not said there about the application - because, in my opinion, if it is built and launched from your machine, you will not need to do this.
If, for example, exe (or the DLL requesting this permission) was copied to the target computer from an unreliable network location, then it could be blocked by the OS - in this case it will force to work in partial trust. You can try the steps described in this article on the semiforums , check each of the binary files in the application folder to make sure that none of them are locked and, if so, unlock them.
Then try to start it again.
source share