[Mono-list] Re moting from Mono to Windows freezes

Sire404 simon at clarobet.com
Fri Jun 5 13:48:40 EDT 2009


I have a simple remoting example that works fine when both client and server
are run in Mono, but freezes (not crashes!) when running the server on
Windows and the client in Mono. Complete code attached (I use Visual Studio
2008).

(I run both applications on Windows Mono, but the exact same error happens
when running the client on Ubuntu). Mono 2.4 of course.
http://www.nabble.com/file/p23892717/RemotingPublisherSubscriber.zip
RemotingPublisherSubscriber.zip 
In short:

server.exe
mono client.exe
= freeze

mono server.exe
mono client.exe
= works fine

Mono freezes on the line "remoteData = new RemoteData()" which tries to
create the remote object.

The object being sent is just a class with a string, so serialization
shouldn't be an issue.

The sample app consists of a client connecting to server, and the server
sending the message back with an event. 

Sample is based on this code:
http://www.pocketnerd.net/Articles/ObserverRem/ASPX/Installation.aspx
Changes made: client was remade into a console app and we send a class
instead of a string.

Anyone have any ideas why this is happening or how I can debug it better?
Any help is greatly appreciated, thanks.

//Simon
-- 
View this message in context: http://www.nabble.com/Remoting-from-Mono-to-Windows-freezes-tp23892717p23892717.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list