FileIO security problems and caspol unable to load assembly RRS feed

  • Question

  • I've written a simple class as an assembly. The assembly is private, located on my hard drive, yet I get an error when I try to do FileIO from files on my own hard-drive (interestingly, in another private assembly I created and also living on my hard-drive I am able to read/write to a web site without issue).

    I tried loading the assembly into the caspol tool to check it's permissions but caspol always balks with "ERROR: Unable To Load Assembly". I looked at the assembly with the diassmbly tool and the everything looks fine. I can run other methods exposed by the assembly so I know the compilation is also OK.

    Any ideas?
    Wednesday, February 21, 2007 4:01 PM