Re: SqlDateTime Overflow

From: Felix Wu [MSFT] (felixwu_at_online.microsoft.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 07:21:38 GMT

Thanks for sharing your experience, Frodo. It can probably benifit others
and help them fix problems.

Have a nice day!

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "FrodoBaggins" <FrodoBaggins@TheShire.com>
>References: <e$IrxTx6DHA.4060@tk2msftngp13.phx.gbl>
>Subject: Re: SqlDateTime Overflow
>Date: Mon, 23 Feb 2004 11:03:09 -0000
>Lines: 31
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
>Message-ID: <uFXZtyf#DHA.3428@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: m33-mp1.cvx1-a.bir.dial.ntli.net 62.255.36.33
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:125727
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Have sorted this problem out. Application was attempting to write to a date
>field that did not exist.
>
>
>"FrodoBaggins" <FrodoBaggins@TheShire.com> wrote in message
>news:e$IrxTx6DHA.4060@tk2msftngp13.phx.gbl...
>> 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
>>
>> Have searched MSDN Library 2004 and online on MS site and can find
nothing
>> relating to this bizarre error message.
>>
>> Can you help?
>>
>> Thanks,
>>
>> Frodo.
>>
>>
>>
>>
>
>
>



Relevant Pages

  • Re: .text insert $string
    ... always test your code snippets before posting them. ... often can't fix problems if we can't duplicate them. ... curly braces around the $string, or there's something else weird going on. ...
    (comp.lang.tcl)
  • Re: ccsclass property for text label on web form within VS.NET 2003
    ... > Hi Frodo, ... > Thanks for posting in the community. ... > If the web form file is in the same directory which the 'styles' folder ...
    (microsoft.public.dotnet.general)
  • Re: VHDL Synthesis Error
    ... to fix problems like this requires a vhdl simulator. ... You would get more responses by posting to comp.lang.vhdl ...
    (comp.arch.fpga)