I finished coding data publisher I started last week. That works smoothly, except the annoying hoops to try and register the application with .NET 2.0 caspol.exe. I am not sure why, but that command line utility is completely counter-intuitive. I had partial success with it, provided the application is running in the context of a local server administrator. I need my application to run with a limited-access domain service account, which I have completely verified has all the correct rights.
I am trying to grant FullTrust to an application that lives on a file share (UNC path). I used caspol.exe to register the application, which worked for the administrative account when running the application, but did not work with the service account. I so far found these links, Using CasPol to Fully Trust a Share and Code Access Security Policy Tool, to be my best reference so far. Neither was completely helpful and I resorted to installing the .Net 2.0 Framework SDK to get the full suite of GUI tools. I ran mscorcfg.msc on my development server, now found under Administrative Tools, configured the application with the GUI and all is now well.
Unfortunately, I do not want to install the framework SDK on my Acceptance Test and Production servers. I am hoping I can use the GUI to figure out what settings to use with caspol.exe. So far, I have had little luck. Time pressures being what they are, I will likely install the SDK on the servers and use the GUI tools.