Locating dlls on remote server.

G

Guest

I'm attempting to create a console app similar to Microsoft's MMC that will
allow us to create a single user interface, and any apps we create will be
accessible as snap-in dlls. I've been able to create the user interface, and
some sample dlls as apps and everything seems to work fine as long as I
reference the dlls directly. However, I'd like to have the list of
application be generated when the user interface loads, so I'm using an XML
file that contains the location of the dlls, which are located in a remote
server shared directory, and then using Activator.CreateInstanceFrom to load
the objects. This also appears to work, but when I try to actually do
anything on the form I start to get SecurityExceptions. I suspect that I'm
not providing the right permissions when I use Activator.CreateInstanceFrom,
so I was wondering if anyone could direct me to a good discussion on how
security for CreateInstanceFrom (or something similar) works. Also, the code
works when the dll is located on the same computer as the console, but once
it's moved it throws the Security errors.

Thanks in advance,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top