473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

(de)serialization problem in .net remoting


Gentlemen,

I am working with .Net Remoting, but I am running into many problems.
Probably due to the fact that I am not very experienced with that new
technology.

The question is... after implementing the remote type, a host application
and the client, I'm having problems with the serialization that happens
during the remote method calls.

I am using the TCP Channel (binary formatting). The problems occurs in a
function "GetSchema" wich does not receive any parameter and returns an
object of type MsDataTable wich is actually, a class derived from DataTable.
If I am not mistaken, DataTable is serializable and my class (MsDataTable)
also is marked with the <Serializable> attribute.

I noticed that the DataRow class is not serializable because of design
issues, but why I am also having problems with DataTable? Might be there
something missing?

The error I am receiving is: "The constructor to deserialize an object of
type Namespace.MsDataTable was not found".

I am not passing away too much details about my specific problem because I
would like to understand the reasons for this to happen, instead of
resolving this specific case. This way I believe any information would be
very helpful to other people.
I thank you in advance for your attention,

Confed. Forces Klaus Richter
Software Maintenance
#XR3262132



Jul 21 '05 #1
0 1335

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gavin | last post by:
Hi, I'm using the BinaryFormatter so serialize a document class hierachy to a file. I'm using rather large files (20-50mb) so I was wondering if anyone knows of a way to check the progress of the...
1
by: andrewcw | last post by:
When I deserialize my element values - instead of getting the brackets and dashes, the regExpr 'phrase'from the XML is gutted and I get back simply AL, MZ, ADJ stuffed into my object- instead of...
5
by: Tamir Khason | last post by:
I have an object (eg MyObject with namespace eg MyNamespace) public class MyObject While I serialize it the XML created is <MyObject xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
0
by: Orly Junior | last post by:
Gentlemen, I am working with .Net Remoting, but I am running into many problems. Probably due to the fact that I am not very experienced with that new technology. The question is... after...
6
by: mookid8000 | last post by:
Hi group! Is it possible to scan an assembly *which has NOT been added as a reference* for types, and dynamically create instances of the loaded types? I have a program, MyProgram.exe, which...
0
by: mshetty | last post by:
Hi, Is it possible to override the default de-serialization of parameters sent to a Web Method written using SoapRpcMethod keyword? Thanks and Regards, M Shetty
1
by: m.i.mustafa | last post by:
I'm having problems with De-Serializing a complex object I'm sending through a queue. I call it a complex object simply because its a business object that is composed of other objects. Now all...
0
by: =?Utf-8?B?RGluZXNo?= | last post by:
I have an XML in the following format: (sample here) <cars> <car name = "Ford Mustang"> <!]> <Company>Ford</Company> </car> </cars> I have written two c# classes as follows:
2
vekipeki
by: vekipeki | last post by:
Hi! I've been looking around for a simple example of the "right way" to implement immutable object xml serialization/deserialization. The obvious problem is that the immutable object's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.