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

Alberto Avila albertoavila at gmail.com
Fri Jun 23 12:12:54 EDT 2006


Ok, i'll report the bug when bugzilla start working again.

Thanks

On 6/23/06, Lluis Sanchez <lluis at ximian.com> wrote:
> 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.
> >
> >
> >
> >
>
>


-- 
Alberto Avila
http://albertein.c-tech.com.mx



More information about the Mono-devel-list mailing list