Re: Cannot create channel sink
- From: "Dave Sexton" <dave@jwa[remove.this]online.com>
- Date: Thu, 22 Jun 2006 11:14:33 -0400
Hi Loyola,
To specify a host name or I.P. address for a remote object you must do so in
the channel object's constructor using the IDictionary of properties.
Here is a list of the properties that are available for each channel:
http://msdn2.microsoft.com/en-us/library/kw7c6kwc.aspx
I believe you want to use the machineName property, but you can't specify
an IP address or host name for a machine other than the one that is
executing the code.
HTH
"Loyola stalin" <Loyolastalin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3C7BCC0E-FAE3-4F4C-8D10-6FC51F33547B@xxxxxxxxxxxxxxxx
Hi,
I am trying to store my object in remote system
Like System.Runtime.Remoting.RemotingServices.Marshal(ob,
"//10.31.180.50/SortedSearchable");
And Retreving like
(IRemote)Activator.GetObject(typeof(IRemote),
@"//10.31.180.50:8080/SortedSearchable")
It doesn't work .. But the folowinf working fine ..
System.Runtime.Remoting.RemotingServices.Marshal(ob, "SortedSearchable");
(IRemote)Activator.GetObject(typeof(IRemote),
@"http://localhost:8080/SortedSearchable");
Can u just tell me how to set the service in a remote system ?
Thanks and Regards
Loyola
.
- Follow-Ups:
- Re: Cannot create channel sink
- From: Loyola stalin
- Re: Cannot create channel sink
- References:
- Cannot create channel sink
- From: Loyola stalin
- Re: Cannot create channel sink
- From: Dave Sexton
- Re: Cannot create channel sink
- From: Loyola stalin
- Re: Cannot create channel sink
- From: Dave Sexton
- Cannot create channel sink
- Prev by Date: How to configure two separate sets of remoted objects
- Next by Date: Re: soapsuds question
- Previous by thread: Re: Cannot create channel sink
- Next by thread: Re: Cannot create channel sink
- Index(es):
Relevant Pages
|