----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: kunal989 Message 1 in Discussion Hi All, I have to windows services interacting with each other on different machines. My application is in .NET 2.0 framework. Whenever I have my server & client application ( caller & calle) on same machine I am able to get proper user defined exceptions thrown from Remoting Client application back to Caller ( remoting Server application) but when I put them on different machins I start getting below error. "Server encountered an internal error. For more information, turn off customErrors in the server's .config file." Now in .NET 2.0 application I was able to solve that by setting below property in my remoting client application & after that I am getting proper user defined exceptions. RemotingConfiguration.CustomErrorsMode = CustomErrorsMode Off; The problem is that I have some 9 windows services & it wont be feasible to put this line in all of them. I have browsed on MSDN and they suggest creating App.config file for each windows service. http://msdn2.microsoft.com/en-us/library/y123fsf7.aspx <system.runtime.remoting> <customErrors mode="Off"/> </system.runtime.remoting> I would like to use the approach of setting it in Machine.Config , I have tried by setting the property in machine.config but it wasnt working. Let me know if any one of you have come across such problem & suggest a solution. Thanks Kunal Shah 9342265409 ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
