Remoting in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am currently developing an application (client and server), which uses
remote-objects to enable the client to execute some methods on the server.
The first problem appeared due to security restrictions. I tried to generate
a key-file and put it in the AssemblyInfo but that didn't fix the problem
because I am using the "TAPI3Lib" which is not signed as it is an external
ressource (Interop for the tapi3.dll). Perhaps someone has a solution to this
problem? But to get the whole thing running I used some sort of workaround
and set the "TypeFilterLevel" to "Full" (I know that this is not a good way
to solve the problem...).

Ok, here is the main problem: If I run the application (server and client)
on one computer everything works fine. The client connects to the server
using remote-objects, executes a method and is exited by the server (the
server exits the client by a callback-object, which was given from the client
to the server as an parameter).
But if I try to execute the server on one computer and the client on
another, I get an remote-exception, which tells me to activate the
customErrors-mode in the server configuration file.

Any ideas?

Greetings from Germany,

Lars
 
Oh, I forgot to post the link to my solution...
To use the server, just doubleclick on the executable.
To start the client change to the folder where the executable is stored. Now
call the executable with one commandline-parameter which is the ip-address of
the server.

Download it from here: http://www.lanverleih.de/msdn.zip
 
Ok guys, I tried it on another way and everything works fine now...

The link to the solution does no longer exist...

Greetz,

Lars
 
Back
Top