J
Jayme Pechan
I have an object in a service that, of course, is derived from
MarshalByRefObj and is setup as a wellknown type in my app.config file. I
can get a reference to this object just fine and call functions. One of my
functions needs to return another object that also derives from
MarshalByRefObj.
When I do this real simply, the client gets an error when trying to call a
function on the returned object:
This remoting proxy has no channel sink which means either the server has no
registered server channels that are listening, or this application has no
suitable client channel to talk to the server.
I think this means that I need to have something in my app.config file for
the new object. I tried putting a wellknown type in there for this object
but since the client doesn't instantiate the object, I'm not getting the
reference via the standard Activator.GetObject and it doesn't work.
Doesn't anyone know what I need to do to return a MarshalByRefObj derived
object from a remoted object like this? Any help would be appreciated.
Thanks.
MarshalByRefObj and is setup as a wellknown type in my app.config file. I
can get a reference to this object just fine and call functions. One of my
functions needs to return another object that also derives from
MarshalByRefObj.
When I do this real simply, the client gets an error when trying to call a
function on the returned object:
This remoting proxy has no channel sink which means either the server has no
registered server channels that are listening, or this application has no
suitable client channel to talk to the server.
I think this means that I need to have something in my app.config file for
the new object. I tried putting a wellknown type in there for this object
but since the client doesn't instantiate the object, I'm not getting the
reference via the standard Activator.GetObject and it doesn't work.
Doesn't anyone know what I need to do to return a MarshalByRefObj derived
object from a remoted object like this? Any help would be appreciated.
Thanks.