[Mono-dev] CallContext and Remoting

Simon Dale sdale at rm.com
Thu Jun 8 04:00:48 EDT 2006

I'm trying to create an application where the object being provided by the server can determine the origin of the client. I've not found any way of doing this apart from using a CallContext specified at the client to contain the client's DNS name.
I've made this work with Visual Studio 2005, but keep getting an exception when I try to connect to the server with a Mono client. Ideally, the client will be Mono and the server MS .NET.
Has anyone done anything similar and experienced similar problems?
The exception is pasted below.
Unhandled Exception: System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
Server stack trace:

Exception rethrown at [0]:
in <0x006df> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception exc, System.Object[] out_args)

You might be interested in this...

Professor Tim Brighouse describes the key features shared by successful schools in his new book - Download your copy now

Visit our Website at http://www.rm.com

This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications. 

Freedom of Information Act 2000
This email and any attachments may contain confidential information belonging to RM.  Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests.

This email has been scanned for viruses by Trend ScanMail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060608/524bc04f/attachment.html 

More information about the Mono-devel-list mailing list