SqlDateTime overflow if using .NET Remoting and Windows XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am getting SqlDateTime overflow if I use .NET remoting on Windows XP and
Windows XP is the server where the SQL server is located at. If my computer
is Windows 2003 where the sql server is running and I use client as the
windows XP I do not get this error.
 
Hi

can you post some code?


I bet your problem is more of a conversion than of anything else.
 
Unfortunately it is not possible to post the code because it is a big
application, but I can say what is going on.

My app is an entrprise application which is made of the following parts:

Layers on the server part:

Data layer: which connects to sql server
Business Rules layer
Facade

Layers on the client:
UI and the interfaces

Also Common system is in both parts.

I can use the application using .NET Remoting in Client/Server or in without
any server. If used without .NET Remoting, everything is fine in any
platform and there is no error when I wirting any data.

But when I use .NET remoting I get the specified error. And this error is
happening only in windows XP. I could be wrong, because win 2003 is my
production OS and there could be some settings and so if it is fresh it could
happen there as well. But I am sure it is from the .NET Remoting. But the
weird part is that it happens after the serialization is done and it is not
from the serilization.

thanks
 
Found the Error!

If you set the Serialization type to Binary on DataSet, it does not seralize
it correctly on windows xp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top