[Mono-dev] Problems (bug?) with remothing

Lluis Sanchez lluis at ximian.com
Fri Jun 23 05:17:27 EDT 2006


Hi,

This looks like a bug. It is not usual to get this message error, and
the test case looks simple. Can you please file a bug report in
bugzilla.ximian.com?

Thanks,
Lluis.

El dc 21 de 06 del 2006 a les 18:06 -0600, en/na Alberto Avila va
escriure:
> Hi i'm using mono 1.1.7.1 on windows.
> 
> I have a remoting server and a client.
> 
> I run the server and the client, the client invokes two methods and
> then try to invoke the third and then it gets an exception:
> 
> Unhandled Exception:
> System.Runtime.Serialization.SerializationException: There are some
> fixups that refer to objects that have not been registered
> 
> Server stack trace:
> 
> 
> Exception rethrown at [0]:
> 
> in <0x006d1> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
> System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
> System.Exception exc, System.Object[] out_args)
> 
> If i run the client with .NET i got this other exeption:
> Unhandled Exception: System.Net.WebException: The remote server
> returned an error: (400) Bad Request.
> 
> Server stack trace:
>    at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessResponseException(WebException
> webException, HttpWebResponse& response)
>    at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage
> msg, ITransportHeaders requestHeaders, Stream requestStream,
> ITransportHeaders& responseHeaders, Stream& responseStream)
>    at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage
> msg)
> 
> 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 Common.IServicio.getPeticionesWeb(String Usuario, String Llave1,
> String Modulo, String NReporte, String Fechas)
>    at Cliente.Cliente.Main(String[] args)
> 
> The code should be fine because if the server is run with .net the
> client works running on top of .net and mono
> 
> The code could be found here: http://monoport.com/296
> 
> I have the interface IServicio and the class User in a dll assembly
> Common.dll, and the class Server on Server.exe wich starts the
> remoting services and is compiled with Common.dll and Client on
> Client.exe wich use the remoting servise and also is compiled with
> Common.dll
> 
> What is the problem? is it a mono bug? if it is does exists a workaround?
> 
> Please note that the code is a simple test case that i got striping
> the real code for testing.
> 
> 
> 
> 




More information about the Mono-devel-list mailing list