Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75886 --- shadow/75886 2005-08-24 12:31:22.000000000 -0400 +++ shadow/75886.tmp.30986 2005-08-30 13:45:16.000000000 -0400 @@ -154,6 +154,48 @@ ------- Additional Comments From [EMAIL PROTECTED] 2005-08-24 12:31 ------- I also attached a tar file with the remoting host app compiled under Win32 and Microsoft .NET. This one works ok. Remember to update the ip-address in the config file(s). // Yngve. + +------- Additional Comments From [EMAIL PROTECTED] 2005-08-30 13:45 ------- +I have sligthly changed the remoting example to not work +RemotingConfiguration.Configure("LinuxHostApp.exe.config"); +but to instead use: +RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType("RemoteObjects.RemoteObject, +RemoteObjects"), "Hello", WellKnownObjectMode.SingleCall); +and that works! + +When running this modified host application in Linux(Fedora3) on Mono +and calling the application from my Windows .NET application I got: + +# mono --debug --trace=none LinuxHostApp.exe +LinuxHostApp, MainClass, Main - Started: 8/30/2005 5:00:52 PM GMT +Configuring remoting for specified objects... +Configuring with : PROGRAMMATICALLY +EXCEPTION handling: FormatException +EXCEPTION handling: FormatException +EXCEPTION handling: FormatException +Type:RemoteObjects.RemoteObject +WKOM:SingleCall +ApplicationName : +Hit <enter> key to exit +RemoteObject created: 8/30/2005 5:06:49 PM GMT +Hallo to LinuxHostApp from WinClient +<ENTER> +LinuxHostApp, MainClass, Main - Ended: 8/30/2005 5:07:56 PM GMT + +In other words, this simple application works if one use: +RemotingConfiguration.RegisterWellKnownServiceType( ... ); +instead of +RemotingConfiguration.Configure("LinuxHostApp.exe.config"); + +To observer is that I still get: +EXCEPTION handling: FormatException +... +if I have the --trace=none option on. + +To summarise: The main problem seems to be in +RemotingConfiguration.Configure(..); + + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
