Question
"System/Security/IPermission" when trying to access a file from .Net
Hello guys,
I use a library that has a class x which has a method y. The method gets a string to a file and opens the file.
The CF code looks like that:
| <cfobject type=".NET" name="x" class="TestSpace.X" assembly="C:\TestSpace.dll"> | |
| <cfset x.open("D:\file.txt")> |
At the second line the exception is thrown. Locally (Windows 7 64-Bit) that works, but on our productive system (Windows 2008 64Bit) it is not working.
On both systems I use ColdFusion 9.
Has anybody an idea what I can do?
Thanks!
