pavithran

pavithran

  • NA
  • 69
  • 0

passing a parameters to Remoting service in .NET Remoting

Apr 4 2005 12:19 AM
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)