Error while calling method of Serviced component from another

Jun 6 2004 11:57 PM
I have 2 serviced components in the project. MessageHandler and Wires_Attachments. From Message Handler object I am trying to invoke a method of Wires_Attachments. At that instant I am getting the following error. Message : Object reference not set to an instance of an object. Trace : Server stack trace: at Wires_Attachments.Wires_Attachments.InsertAttachments(String strMessage) at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Wires_Attachments.Wires_Attachments.InsertAttachments(String strMessage) at Wires_Attachments.MessageHandler.TriggerWires_Attachments(String strXML) Source : mscorlib What coule be the reason for this? Thanx, Pawan