Need help with Remoting question
- From: "Jayme Pechan" <jayme.pechan@xxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 22:17:53 -0700
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.
.
- Follow-Ups:
- Re: Need help with Remoting question
- From: Dave Sexton
- Re: Need help with Remoting question
- Prev by Date: Re: Periodic housekeeping code strategy?
- Next by Date: RE: CommandText is placed in the resx file
- Previous by thread: RE: How to find the default value of primitive data type at runtim
- Next by thread: Re: Need help with Remoting question
- Index(es):