pavithran

pavithran

  • NA
  • 69
  • 0

passing parameters to Remoting service in .NET Remoting

Apr 4 2005 12:28 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"); --------------------------------------------------------- I dont want to config files. getting the error "Unhandled Exception: System.Runtime.Remoting.RemotingException: Requested Servic e not found" How can solve this problem?? Thanks in advance pavithran