Re: [Mono-list] .net remoting problem with object sending

2008-09-26 Thread cmare

I'm all so having problems with it. I get:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'Client' or one of its dependencies. The system cannot find the
file specified.
File name: 'Client'
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
System.Exception exc, System.Object[] out_args) [0x00185] in
/build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:227
 

I did follow a tutorial 
http://www.codeproject.com/KB/IP/csremoteevents1.aspx?msg=2740979 link to
tutorial . 

Any ideas?




Lluis Sanchez wrote:
 
 The problem is that the receiver application can't deserialize the
 object because it can't find the assembly that implements it. In any
 case, remoting should not crash with a null ref exception. I just fixed
 it.
 
 Lluis.
 
 El dc 28 de 02 del 2007 a les 04:40 +0100, en/na Mirek Binas va
 escriure:
 hello
 
 i am trying to develop application with .net remoting for communication.
 at the moment - everything is well, but when i want to send object, that
 is not one of the default types, the exception raised:
 
 Unhandled Exception: System.NullReferenceException: Object reference not
 set to an instance of an object
 
 the object is not null (checked line before call of the remote method).
 and in the declaration of the class it is marked as [Serializable]. don't
 know, what is the problem about. any idea?
 
 mirek
 
 p.s.: the complete exception
 
 Unhandled Exception: System.NullReferenceException: Object reference not
 set to an instance of an object
 
 Server stack trace: 
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType
 (System.String assemblyName, System.String typeName) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType
 (System.String xmlName, System.String xmlNamespace) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 () [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0] 
   at
 System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream,
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0] 
   at
 System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream) [0x0] 
   at
 System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage
 (IServerChannelSinkStack sinkStack, IMessage requestMsg,
 ITransportHeaders requestHeaders, System.IO.Stream requestStream,
 IMessage responseMsg, ITransportHeaders responseHeaders,
 System.IO.Stream responseStream) [0x0] 
 
 Exception rethrown at [0]: 
 
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
 System.Exception exc, System.Object[] out_args) [0x0]
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
 

-- 
View this message in context: 
http://www.nabble.com/.net-remoting-problem-with-object-sending-tp9197526p19687572.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


Re: [Mono-list] .net remoting problem with object sending

2008-09-26 Thread Robert Jordan
cmare wrote:
 I'm all so having problems with it. I get:
 
 Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
 assembly 'Client' or one of its dependencies. The system cannot find the
 file specified.
 File name: 'Client'
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
 System.Exception exc, System.Object[] out_args) [0x00185] in
 /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:227
  
 
 I did follow a tutorial 
 http://www.codeproject.com/KB/IP/csremoteevents1.aspx?msg=2740979 link to
 tutorial . 
 
 Any ideas?

Yes. Please file a bug with a self-contained test case
at http://www.mono-project.com/Bugs.


Robert

 
 
 
 
 Lluis Sanchez wrote:
 The problem is that the receiver application can't deserialize the
 object because it can't find the assembly that implements it. In any
 case, remoting should not crash with a null ref exception. I just fixed
 it.

 Lluis.

 El dc 28 de 02 del 2007 a les 04:40 +0100, en/na Mirek Binas va
 escriure:
 hello

 i am trying to develop application with .net remoting for communication.
 at the moment - everything is well, but when i want to send object, that
 is not one of the default types, the exception raised:

 Unhandled Exception: System.NullReferenceException: Object reference not
 set to an instance of an object

 the object is not null (checked line before call of the remote method).
 and in the declaration of the class it is marked as [Serializable]. don't
 know, what is the problem about. any idea?

 mirek

 p.s.: the complete exception

 Unhandled Exception: System.NullReferenceException: Object reference not
 set to an instance of an object

 Server stack trace: 
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType
 (System.String assemblyName, System.String typeName) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType
 (System.String xmlName, System.String xmlNamespace) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 () [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0] 
   at
 System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream,
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0] 
   at
 System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream) [0x0] 
   at
 System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage
 (IServerChannelSinkStack sinkStack, IMessage requestMsg,
 ITransportHeaders requestHeaders, System.IO.Stream requestStream,
 IMessage responseMsg, ITransportHeaders responseHeaders,
 System.IO.Stream responseStream) [0x0] 

 Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
 System.Exception exc, System.Object[] out_args) [0x0]
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 

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


Re: [Mono-list] .net remoting problem with object sending

2007-02-28 Thread Lluis Sanchez
The problem is that the receiver application can't deserialize the
object because it can't find the assembly that implements it. In any
case, remoting should not crash with a null ref exception. I just fixed
it.

Lluis.

El dc 28 de 02 del 2007 a les 04:40 +0100, en/na Mirek Binas va
escriure:
 hello
 
 i am trying to develop application with .net remoting for communication. at 
 the moment - everything is well, but when i want to send object, that is not 
 one of the default types, the exception raised:
 
 Unhandled Exception: System.NullReferenceException: Object reference not set 
 to an instance of an object
 
 the object is not null (checked line before call of the remote method). and 
 in the declaration of the class it is marked as [Serializable]. don't know, 
 what is the problem about. any idea?
 
 mirek
 
 p.s.: the complete exception
 
 Unhandled Exception: System.NullReferenceException: Object reference not set 
 to an instance of an object
 
 Server stack trace: 
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType (System.String 
 assemblyName, System.String typeName) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType 
 (System.String xmlName, System.String xmlNamespace) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize () 
 [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize 
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
 (System.IO.Stream serializationStream, 
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
 (System.IO.Stream serializationStream) [0x0] 
   at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage 
 (IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders 
 requestHeaders, System.IO.Stream requestStream, IMessage responseMsg, 
 ITransportHeaders responseHeaders, System.IO.Stream responseStream) 
 [0x0] 
 
 Exception rethrown at [0]: 
 
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke 
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, 
 System.Exception exc, System.Object[] out_args) [0x0]

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


[Mono-list] .net remoting problem with object sending

2007-02-27 Thread Mirek Binas
hello

i am trying to develop application with .net remoting for communication. at the 
moment - everything is well, but when i want to send object, that is not one of 
the default types, the exception raised:

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object

the object is not null (checked line before call of the remote method). and in 
the declaration of the class it is marked as [Serializable]. don't know, what 
is the problem about. any idea?

mirek

p.s.: the complete exception

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object

Server stack trace: 
  at System.Runtime.Remoting.Channels.SimpleBinder.BindToType (System.String 
assemblyName, System.String typeName) [0x0] 
  at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType 
(System.String xmlName, System.String xmlNamespace) [0x0] 
  at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize () 
[0x0] 
  at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize 
(System.IO.Stream inStream, ISoapMessage soapMessage) [0x0] 
  at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
(System.IO.Stream serializationStream, 
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0] 
  at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
(System.IO.Stream serializationStream) [0x0] 
  at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage 
(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders 
requestHeaders, System.IO.Stream requestStream, IMessage responseMsg, 
ITransportHeaders responseHeaders, System.IO.Stream responseStream) [0x0] 

Exception rethrown at [0]: 

  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke 
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception 
exc, System.Object[] out_args) [0x0]
-- 
e-mail: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
homepage: http://www.intrak.sk/~binas

english:
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

slovak:
prosim, neposielajte mi prilohy vo formatoch .doc a .ppt (power point)
precitajte si http://www.fsf.org/philosophy/no-word-attachments.cs.html
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] .net remoting problem with object sending

2007-02-27 Thread Axel Westerhold

Hi there,

I am a little guessing here but it sounds as if you would using XML/SOAP/WEB
kind of remoting. In this case make sure each and every variable in your
object/class/struct is defined and initialized.

You can also switch to a binary formater which will solve this issue too but
will break access through proxy.

Regards,
Axel

Am 28.02.2007 4:40 Uhr schrieb Mirek Binas unter
[EMAIL PROTECTED]:

 hello
 
 i am trying to develop application with .net remoting for communication. at
 the moment - everything is well, but when i want to send object, that is not
 one of the default types, the exception raised:
 
 Unhandled Exception: System.NullReferenceException: Object reference not set
 to an instance of an object
 
 the object is not null (checked line before call of the remote method). and in
 the declaration of the class it is marked as [Serializable]. don't know, what
 is the problem about. any idea?
 
 mirek
 
 p.s.: the complete exception
 
 Unhandled Exception: System.NullReferenceException: Object reference not set
 to an instance of an object
 
 Server stack trace:
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType (System.String
 assemblyName, System.String typeName) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType
 (System.String xmlName, System.String xmlNamespace) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize ()
 [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream,
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream) [0x0]
   at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage
 (IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
 requestHeaders, System.IO.Stream requestStream, IMessage responseMsg,
 ITransportHeaders responseHeaders, System.IO.Stream responseStream)
 [0x0] 
 
 Exception rethrown at [0]:
 
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception
 exc, System.Object[] out_args) [0x0]


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


Re: [Mono-list] .net remoting problem with object sending

2007-02-27 Thread Axel Westerhold
Hi there,

Don't get me wrong. You can use a binary formater AND an HTTP channel.

Like this

Server

HttpChannel hc;
BinaryServerFormatterSinkProvider sbf = new
BinaryServerFormatterSinkProvider();
BinaryClientFormatterSinkProvider cbf = new
BinaryClientFormatterSinkProvider();
IDictionary properties = new Hashtable();
properties[port] = port;
  
if( !fqdn.Equals() ){
properties[machineName] = fqdn;
}
else{
Helper.ErrorLog(ManageMail DB Provider using IP as no fqdn found);

}
hc=new HttpChannel(properties,cbf,sbf);

ChannelServices.RegisterChannel(hc,false);
RemotingConfiguration.ApplicationName=DBAbstract;
RemotingConfiguration.RegisterActivatedServiceType(typeof(DBAbstract));

Client

try{
   BinaryServerFormatterSinkProvider sbf = new
BinaryServerFormatterSinkProvider();

BinaryClientFormatterSinkProvider cbf = new
BinaryClientFormatterSinkProvider();
IDictionary properties = new Hashtable();
properties[name] = ManageMail LogViewer;
ChannelServices.RegisterChannel(new HttpChannel(properties,cbf,sbf),false);

RemotingConfiguration.RegisterActivatedClientType(typeof(DBAbstract),dbInfo.
GetRemotingString());
}
catch{
Application.Exit();
return;
}

Regards, 
Axel


Am 28.02.2007 7:52 Uhr schrieb Mirek Binas unter
[EMAIL PROTECTED]:

 hello
 
 yes - i am using the http channel for remoting. the problematic object
 consists of four attributes, and all of them are initialized. hmm... i'll try
 to play a bit, if this is the problem.
 
 and - i was trying to use tcp channel for this purpose, but at the very first
 begging with problems, so because of this i switched to http. but - i'll try
 it again, if this should be the problem.
 
 mirek
 On Wed, Feb 28, 2007 at 07:40:03AM +0100, Axel Westerhold wrote:
 
 Hi there,
 
 I am a little guessing here but it sounds as if you would using XML/SOAP/WEB
 kind of remoting. In this case make sure each and every variable in your
 object/class/struct is defined and initialized.
 
 You can also switch to a binary formater which will solve this issue too but
 will break access through proxy.
 
 Regards,
 Axel
 
 Am 28.02.2007 4:40 Uhr schrieb Mirek Binas unter
 [EMAIL PROTECTED]:
 
 hello
 
 i am trying to develop application with .net remoting for communication. at
 the moment - everything is well, but when i want to send object, that is not
 one of the default types, the exception raised:
 
 Unhandled Exception: System.NullReferenceException: Object reference not set
 to an instance of an object
 
 the object is not null (checked line before call of the remote method). and
 in
 the declaration of the class it is marked as [Serializable]. don't know,
 what
 is the problem about. any idea?
 
 mirek
 
 p.s.: the complete exception
 
 Unhandled Exception: System.NullReferenceException: Object reference not set
 to an instance of an object
 
 Server stack trace:
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType (System.String
 assemblyName, System.String typeName) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType
 (System.String xmlName, System.String xmlNamespace) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize ()
 [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream,
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream) [0x0]
   at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage
 (IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
 requestHeaders, System.IO.Stream requestStream, IMessage responseMsg,
 ITransportHeaders responseHeaders, System.IO.Stream responseStream)
 [0x0] 
 
 Exception rethrown at [0]:
 
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
 System.Exception
 exc, System.Object[] out_args) [0x0]
 
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


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


Re: [Mono-list] .net remoting problem with object sending

2007-02-27 Thread Axel Westerhold
One more comment,

I used XML formating but hit a brickwall because while all my entities were
properly defiend and initialized some Framework components were not. As soon
as the XML Formater found a Null within a collection, object or class it
stopped working. Since I use the binary formater my problems are gone and it
seems to work very stable (loading 100.000,00 records in one run and loading
new records in 5 sec. Intervals für 12 hours. It behaves well in my threaded
eviroment and while the server runs on Linux the client is on windows.

Axel


Am 28.02.2007 8:08 Uhr schrieb Axel Westerhold unter
[EMAIL PROTECTED]:

 Hi there,
 
 Don't get me wrong. You can use a binary formater AND an HTTP channel.
 
 Like this
 
 Server
 
 HttpChannel hc;
 BinaryServerFormatterSinkProvider sbf = new
 BinaryServerFormatterSinkProvider();
 BinaryClientFormatterSinkProvider cbf = new
 BinaryClientFormatterSinkProvider();
 IDictionary properties = new Hashtable();
 properties[port] = port;
  
 if( !fqdn.Equals() ){
 properties[machineName] = fqdn;
 }
 else{
 Helper.ErrorLog(ManageMail DB Provider using IP as no fqdn found);
 
 }
 hc=new HttpChannel(properties,cbf,sbf);
 
 ChannelServices.RegisterChannel(hc,false);
 RemotingConfiguration.ApplicationName=DBAbstract;
 RemotingConfiguration.RegisterActivatedServiceType(typeof(DBAbstract));
 
 Client
 
 try{
BinaryServerFormatterSinkProvider sbf = new
 BinaryServerFormatterSinkProvider();
 
 BinaryClientFormatterSinkProvider cbf = new
 BinaryClientFormatterSinkProvider();
 IDictionary properties = new Hashtable();
 properties[name] = ManageMail LogViewer;
 ChannelServices.RegisterChannel(new HttpChannel(properties,cbf,sbf),false);
 
 RemotingConfiguration.RegisterActivatedClientType(typeof(DBAbstract),dbInfo.
 GetRemotingString());
 }
 catch{
 Application.Exit();
 return;
 }
 
 Regards, 
 Axel
 
 
 Am 28.02.2007 7:52 Uhr schrieb Mirek Binas unter
 [EMAIL PROTECTED]:
 
 hello
 
 yes - i am using the http channel for remoting. the problematic object
 consists of four attributes, and all of them are initialized. hmm... i'll try
 to play a bit, if this is the problem.
 
 and - i was trying to use tcp channel for this purpose, but at the very first
 begging with problems, so because of this i switched to http. but - i'll try
 it again, if this should be the problem.
 
 mirek
 On Wed, Feb 28, 2007 at 07:40:03AM +0100, Axel Westerhold wrote:
 
 Hi there,
 
 I am a little guessing here but it sounds as if you would using XML/SOAP/WEB
 kind of remoting. In this case make sure each and every variable in your
 object/class/struct is defined and initialized.
 
 You can also switch to a binary formater which will solve this issue too but
 will break access through proxy.
 
 Regards,
 Axel
 
 Am 28.02.2007 4:40 Uhr schrieb Mirek Binas unter
 [EMAIL PROTECTED]:
 
 hello
 
 i am trying to develop application with .net remoting for communication. at
 the moment - everything is well, but when i want to send object, that is
 not
 one of the default types, the exception raised:
 
 Unhandled Exception: System.NullReferenceException: Object reference not
 set
 to an instance of an object
 
 the object is not null (checked line before call of the remote method). and
 in
 the declaration of the class it is marked as [Serializable]. don't know,
 what
 is the problem about. any idea?
 
 mirek
 
 p.s.: the complete exception
 
 Unhandled Exception: System.NullReferenceException: Object reference not
 set
 to an instance of an object
 
 Server stack trace:
   at System.Runtime.Remoting.Channels.SimpleBinder.BindToType
 (System.String
 assemblyName, System.String typeName) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType
 (System.String xmlName, System.String xmlNamespace) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize ()
 [0x0] 
   at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize
 (System.IO.Stream inStream, ISoapMessage soapMessage) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream,
 System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0]
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize
 (System.IO.Stream serializationStream) [0x0]
   at 
 System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage
 (IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
 requestHeaders, System.IO.Stream requestStream, IMessage responseMsg,
 ITransportHeaders responseHeaders, System.IO.Stream responseStream)
 [0x0] 
 
 Exception rethrown at [0]:
 
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
 System.Exception
 exc, System.Object[] out_args) [0x0]