By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,896 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,896 IT Pros & Developers. It's quick & easy.

Remote Invocation!

P: n/a
Hi All, I have a 3rd part assembly Foo.dll and its dependencies. I have
registered them on Server A.
I have an exe (bar.exe) which runs on Server B which would like to make
calls to this Assembly Foo.dll
I am using reflection in bar.exe
Q can I use Assembly.LoadFrom(\\server A\foo.dll)? I am trying to avoid
Remoting/WebSvc for now...kept them for last resort
BTW ServerA and ServerB are part of the same domain.
TIA


Sep 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Vai2000,

If you want it to run within a process on server A, then no, you can't
use LoadFrom. If you just want to load the assembly from the server, then
you can do that, but you will have to deal with security restrictions (since
it was loaded from a network resource).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vai2000" <no****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi All, I have a 3rd part assembly Foo.dll and its dependencies. I have
registered them on Server A.
I have an exe (bar.exe) which runs on Server B which would like to make
calls to this Assembly Foo.dll
I am using reflection in bar.exe
Q can I use Assembly.LoadFrom(\\server A\foo.dll)? I am trying to avoid
Remoting/WebSvc for now...kept them for last resort
BTW ServerA and ServerB are part of the same domain.
TIA


Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.