473,776 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SqlDateTime overflow if using .NET Remoting and Windows XP

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
3 2135
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******@discu ssions.microsof t.comwrote in message
news:2B******** *************** ***********@mic rosoft.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
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******@discu ssions.microsof t.comwrote in message
news:2B******** *************** ***********@mic rosoft.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
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******@discu ssions.microsof t.comwrote in message
news:2B******** *************** ***********@mic rosoft.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7976
by: FrodoBaggins | last post by:
Dear Team, Attempting to insert a record into a SQL database, using the command: command.ExcuteNonQuery(); Get the following error message in the event log: SQLDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
0
2185
by: Marco Segurini | last post by:
Hi, I am trying to dynamically install/deinstall a message handler to a System.Windows.Forms.Form using NativeWindow. I do not use IMessageFilter derived class because it intercept only the PostMessage messages. My problem is that when I install the message handler the second time a "Fatal stack overflow error" occurs.
1
1378
by: poppy | last post by:
I set up my parameters in code as follows : lTTState.startDate = Today.AddDays(-10) lTTState.startDate = Today lSqlCmd.Parameters.Add(New SqlParameter("@startDate", SqlDbType.DateTime)) lSqlCmd.Parameters("@startDate").Value = lTTState.startDate lSqlCmd.Parameters.Add(New SqlParameter("@endDate", SqlDbType.DateTime)) lSqlCmd.Parameters("@endDate").Value = lTTState.endDate
1
2056
by: Paperback Writer | last post by:
I need to insert null in a DateTime field and in the ASP.Net i got this error: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. How to accomplish that ? -- Please, check my theSpoke: http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx
0
933
by: uto | last post by:
my development environment consist of web, app server and db server i'd like to call db using remoting and window service. can i call db data in webpage using remoting and windows service?
1
3946
by: lairpr | last post by:
I am having this kind of error when trying to insert a null value; SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. bellow is my code, thanks protected void btnAddTime_Click(object sender, EventArgs e) { try {
3
1766
by: baburk | last post by:
HI I want to pass null or "" When I pass like that I got an error System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Is there is any possibility to send null or ""
4
3944
by: jhansi xavier | last post by:
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
1
2047
by: dougancil | last post by:
I have the following web page: mports System.Data.SqlClient Imports System.Data Partial Class Default2 Inherits System.Web.UI.Page Dim opnumber As String Dim exceptiondate As DateTime
0
10122
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10061
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9923
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5368
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5497
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4031
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.