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