[Mono-dev] CallContext and Remoting

David Suárez dsuarezv at codicesoftware.com
Thu Jun 8 04:31:47 EDT 2006

Maybe you can turn off customerrors as suggested by the handler, so we can
see more information on the exception. Setup your remoting channel using a
config file like this (modify portnumber). Important part is the
customerrors setting
                <channel ref="tcp" port="8084">
        <customErrors mode="Off" />


De: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] En nombre de Simon Dale
Enviado el: jueves, 08 de junio de 2006 10:01
Para: mono-devel-list at lists.ximian.com
Asunto: [Mono-dev] CallContext and Remoting

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
<http://www.rm.com/Generic.asp?cref=GP650420&Srcurl=ICS0505> your copy now 

Visit our Website at 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

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/64e0c7b4/attachment.html 

More information about the Mono-devel-list mailing list