puzzle: about caspol and windows form component
Hi, Everyone!
I have to develop a windows form component which I try to make enabled to access some disk files on the web server.
Now I have managed to develop the component and succeeded to embed in the internet explorer. However, when the component tries to access the disk file, the message "...System.Security.Permission.FileIOPermissio n, mscorlib,version=1.0.5000, Cuture=neutral, PublicKeyToken=b77a5c56193e089 failed" appears and operation halted.
I have also tried the following:
c:\...>caspol -strong -file....
and it says "succeed".
But, damned. The problem still exists.
Do help me!
Thanks!
progoney
|