1
Answer

passing a parameters to Remoting service in .NET Remoting

pavithran

pavithran

19y
1.8k
1
Hi I have a service in Server side object public class SampleSrvObj : MarshalByRefObject { public string HelloName(string name) { return str; } } trying to access it from remoting clinet using below code ResumeServerLibrary.SampleSrvObj obj = (ResumeServerLibrary.SampleObject) Activator.GetObject( typeof(ResumeServerLibrary.SampleObject), "tcp://localhost:1055/HelloName(string)" ); obj.HelloName("Pavithran"); --------------------------------------------------------- getting the error "Unhandled Exception: System.Runtime.Remoting.RemotingException: Requested Servic e not found" How can solve this problem?? Thanks in advance pavithran
Answers (1)