Got this:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ( at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)....
There are plenty of references on the web related to this problem, but they all refer to ASP.NET applications or they are related to an assembly that made it somehow "illegal" into the GAC - that's not my problem.
I have a local drive D:\ that contains this:
D:\APLData\T
D:\APLData\I
D:\APLData\M
D:\APLData\P
D:\APLData\Z
At the some time I have network drives T, I, M, P and Z pointing to exactly these folders. In other words, these two paths both point to the same file:
D:\AplData\T\FlipDB_Dev\Test\ShareTest.DWS
T:\FlipDB_Dev\Test\ShareTest.DWS
Now when I start the program in question from the network drive (T) then I get the error. When I start the program from the local drive (D) than it works.
Any ideas how to solve this problem?
Kai