Re: [Mono-devel-list] Problem with MS.NET and Mono with Remoting

2005-07-20 Thread Hubert FONGARNAND
Le Mardi 19 Juillet 2005 08:56, Hubert FONGARNAND a écrit :
 Le Lundi 18 Juillet 2005 16:48, Hubert FONGARNAND a écrit :
  http://bugzilla.ximian.com/show_bug.cgi?id=75575

Does someone know if this type of bug will be resolved a day...
Or help me how to resolve this issue... I don't know where to begin...
Interoperability with Mono and MS.NET with .NET remoting is crucial for my 
firm... I think it's crucial for mono too
Thanks in advance...


 ___
 Ce message et les éventuels documents joints peuvent contenir des
 informations confidentielles. Au cas où il ne vous serait pas destiné, nous
 vous remercions de bien vouloir le supprimer et en aviser immédiatement
 l'expéditeur. Toute utilisation de ce message non conforme à sa
 destination, toute diffusion ou publication, totale ou partielle et quel
 qu'en soit le moyen est formellement interdite. Les communications sur
 internet n'étant pas sécurisées, l'intégrité de ce message n'est pas
 assurée et la société émettrice ne peut être tenue pour responsable de son
 contenu. ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Ce message et les éventuels documents joints peuvent contenir des informations 
confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir 
le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce 
message non conforme à sa destination, toute diffusion ou publication, totale 
ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce 
message n'est pas assurée et la société émettrice ne peut être tenue pour 
responsable de son contenu.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-devel-list] Problem with MS.NET and Mono with Remoting

2005-07-20 Thread Lluis Sanchez
El dc 20 de 07 del 2005 a les 15:49 +0200, en/na Hubert FONGARNAND va
escriure:
 Le Mardi 19 Juillet 2005 08:56, Hubert FONGARNAND a écrit :
  Le Lundi 18 Juillet 2005 16:48, Hubert FONGARNAND a écrit :
   http://bugzilla.ximian.com/show_bug.cgi?id=75575
 
 Does someone know if this type of bug will be resolved a day...

It will.

 Or help me how to resolve this issue... I don't know where to begin...

Interoperability problems are usually due to differences in the internal
implementation of classes serialized/deserialized between different
runtimes. This can be easily checked by writing a small program that
dumps the content of an object using the SoapFormatter. Then you can
compare the output running that program with Mono and .NET. If the
difference is in field names only, it will be easy to fix. If the
internal structure is completely different, it will be harder.

 Interoperability with Mono and MS.NET with .NET remoting is crucial for my 
 firm... I think it's crucial for mono too
 Thanks in advance...
 
 
  ___
  Ce message et les éventuels documents joints peuvent contenir des
  informations confidentielles. Au cas où il ne vous serait pas destiné, nous
  vous remercions de bien vouloir le supprimer et en aviser immédiatement
  l'expéditeur. Toute utilisation de ce message non conforme à sa
  destination, toute diffusion ou publication, totale ou partielle et quel
  qu'en soit le moyen est formellement interdite. Les communications sur
  internet n'étant pas sécurisées, l'intégrité de ce message n'est pas
  assurée et la société émettrice ne peut être tenue pour responsable de son
  contenu. ___
  Mono-devel-list mailing list
  Mono-devel-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-devel-list
 
 ___
 Ce message et les éventuels documents joints peuvent contenir des 
 informations confidentielles.
 Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir 
 le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce 
 message non conforme à sa destination, toute diffusion ou publication, totale 
 ou partielle et quel qu'en soit le moyen est formellement interdite.
 Les communications sur internet n'étant pas sécurisées, l'intégrité de ce 
 message n'est pas assurée et la société émettrice ne peut être tenue pour 
 responsable de son contenu.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-devel-list] Problem with MS.NET and Mono with Remoting

2005-07-20 Thread Miguel de Icaza
Hello,

   http://bugzilla.ximian.com/show_bug.cgi?id=75575
 
 Does someone know if this type of bug will be resolved a day...
 Or help me how to resolve this issue... I don't know where to begin...
 Interoperability with Mono and MS.NET with .NET remoting is crucial for my 
 firm... I think it's crucial for mono too

Some of these bugs can be fixed on a case-by-case basis.  The simple
cases are ones where we need to rename our internal fields to have the
same name as Microsoft.

The hard cases is when the implementations differ and no amount of
renaming our internal fields will help.  

Since your code might add more or less dependencies on remoting as times
goes by to classes that we can not or have not edited to match the
over-the-wire naming this will be a continuous source of problems for
you.

My recommendation if you need a Windows/Linux interop stack is to use
soap web services (which transfers exactly what its asked to transfer,
not serialize the internals of a class) or if you need something faster
you can look at ZeroC.com's Ice library.

Ice works across Windows and Linux, its fast and will give you much more
than remoting does today in addition to interop to other languages.

Miguel. 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-devel-list] Problem with MS.NET and Mono with Remoting

2005-07-19 Thread Hubert FONGARNAND
Le Lundi 18 Juillet 2005 16:48, Hubert FONGARNAND a écrit :
 http://bugzilla.ximian.com/show_bug.cgi?id=75575

___
Ce message et les éventuels documents joints peuvent contenir des informations 
confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir 
le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce 
message non conforme à sa destination, toute diffusion ou publication, totale 
ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce 
message n'est pas assurée et la société émettrice ne peut être tenue pour 
responsable de son contenu.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-devel-list] Problem with MS.NET and Mono with Remoting

2005-07-18 Thread Rafael Teixeira
Looks like we will need to implement the enumerator helper class for
CollectionBase exactly as MS for this to work.

Thanks for pointing this out Hubert.

Please fill a Bugzilla case with more details.

:|


On 7/18/05, Hubert FONGARNAND [EMAIL PROTECTED] wrote:
 I've an issue with a Mono .NET Remoting server and a MS.NET (windows 2003)
 client...
 
 Description of Problem:
 I've got a NullReference Exception when dealing with Collection of objects :
 
 Exception non gérée : System.NullReferenceException: Object reference not
 set to
  an instance of an object
 
 Server stack trace:
 in 0x00015 System.Collections.CollectionBase:GetEnumerator ()
 in 0x0001e IntranetEngineServer.CServerManager:truc
 (IntranetEngineServer.Cont
 ainer C)
 in 0x0 unknown method
 in (wrapper managed-to-native)
 System.Runtime.Remoting.RemotingServices:Internal
 Execute (System.Reflection.MethodBase,object,object[],object[])
 in 0x00199
 System.Runtime.Remoting.RemotingServices:InternalExecuteMessage (Sy
 stem.MarshalByRefObject target, IMethodCallMessage reqMsg)
 
 Exception rethrown at [0]:
at
 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req
 Msg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData
 msgDa
 ta, Int32 type)
at IntranetEngineServer.CServerManager.truc(Container C)
at MainClass.Main(String[] args)
 
 I've no problems with a Mono Server and a Mono Client...
 
 See http://bugzilla.ximian.com/show_bug.cgi?id=75575 for testcases
 
 ___
 Ce message et les éventuels documents joints peuvent contenir des 
 informations confidentielles.
 Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir 
 le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce 
 message non conforme à sa destination, toute diffusion ou publication, totale 
 ou partielle et quel qu'en soit le moyen est formellement interdite.
 Les communications sur internet n'étant pas sécurisées, l'intégrité de ce 
 message n'est pas assurée et la société émettrice ne peut être tenue pour 
 responsable de son contenu.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list
 


-- 
Rafael Monoman Teixeira
---
I'm trying to become a Rosh Gadol before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list