By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,238 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

SqlDateTime overflow if using .NET Remoting and Windows XP

P: n/a
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.
--
Mike
Sep 26 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi

can you post some code?
I bet your problem is more of a conversion than of anything else.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Mike9900" <Mi******@discussions.microsoft.comwrote in message
news:2B**********************************@microsof t.com...
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.
--
Mike

Sep 26 '06 #2

P: n/a
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

--
Mike
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi

can you post some code?
I bet your problem is more of a conversion than of anything else.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Mike9900" <Mi******@discussions.microsoft.comwrote in message
news:2B**********************************@microsof t.com...
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.
--
Mike


Sep 26 '06 #3

P: n/a
Found the Error!

If you set the Serialization type to Binary on DataSet, it does not seralize
it correctly on windows xp.
--
Mike
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi

can you post some code?
I bet your problem is more of a conversion than of anything else.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Mike9900" <Mi******@discussions.microsoft.comwrote in message
news:2B**********************************@microsof t.com...
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.
--
Mike


Sep 26 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.