473,387 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Remote Invocation!

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
1 1529
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hal Vaughan | last post by:
I think I read something about this and I may just be using the wrong terms in search engines. I thought I read about a process where I could write Java classes that would be stored on a server...
2
by: Paolo Dupont | last post by:
I need to instantiate a component on a remote server. I did it easily. However, i can not set the handler for the event associated with the class. I'm able to implement and use events only if the...
1
by: Lex | last post by:
I have an app that allows for cross process eventing. I have a server that instantiates a shared object that external processes can remotely get a refernce to and register for events. The...
6
by: Sharon | last post by:
How to catch an asynchronous delegate invocation exception? The code: --------------------------------------- String message = “my message”; foreach( MyDelegate handler in...
2
by: Julia | last post by:
Hi, My RemoteServer is a singleton remote object hosted by windows service and accessed by ASP.NET application using remoting,server activated Basically my RemoteServer need to send several...
4
by: Rohith | last post by:
I need to import dlls that are present in the remote machine. Its a dll written in C that exposes methods. I want to import that dll in my C# application. But that dll is not present in the local...
0
by: Vish Ramachandran | last post by:
I am trying to write a program to automatically deploy an asp.net app on a remote iis machine from a pure c# program that does not involve invocation of scripts. The way I want to do this is by...
6
by: Peter M. | last post by:
Hi all, If an event has multiple subscribers, is it possible to cancel the invocation of event handlers from an event handler? Or to be more specific: I'm subscribing to the ColumnChanging...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.