Try removing the line <wellknown type="CCMS.BusinessLogic.CategoryBL, CCMS.BusinessLogic" url="HTTP://192.168.1.32:80/CategoryBL.rem"/>
-----Original Message----- From: Krishna Roopa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 6:03 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] MarshalByRefObject - class within another class - Detailed public class QualifierBL : MarshalByRefObject { public CategoryBL CategoryBL = new CategoryBL(); public QualifierBL() { } } public class CategoryBL : MarshalByRefObject { public int Update(int UserId,int CategoryId,string CategoryName) { return 100; } } In the Remote Client, I am accessing the CategoryBL as QualifierBL objQBL = new QualifierBL(); int i = objBL.CategoryBL.Update(); This throws RemotingException In Web.Config, I have made entries for both the classes <wellknown mode="Singleton" type="CCMS.BusinessLogic.QualifierBL, CCMS.BusinessLogic" objectUri="QualifierBL.rem" /> <wellknown mode="Singleton" type="CCMS.BusinessLogic.CategoryBL, CCMS.BusinessLogic" objectUri="CategoryBL.rem" /> Also, In the remote client, I had referred as: <wellknown type="CCMS.BusinessLogic.QualifierBL, CCMS.BusinessLogic" url="HTTP://192.168.1.32:80/QualifierBL.rem"/> <wellknown type="CCMS.BusinessLogic.CategoryBL, CCMS.BusinessLogic" url="HTTP://192.168.1.32:80/CategoryBL.rem"/> Remoting works for other classes, where the instance of another class is not created. Any pointer in this regard would be helpful. Thanks Krishna Roopa You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
