| | |
SqlDateTime Overflow Error
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2009
Posts: 15
Reputation:
Solved Threads: 0
Hii...
I'm having 2 .aspx page
1) Detected Vulnerabilities Report
2) Missing Patches Summary Report
When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im passing 2 parameters, (startdate and enddate) and between this range the report data will display...
After When I'm restarting my application again and now when Im clicking on Missing Patches Summary Report it is showing an error message as 'SqlDatetime overflow. Must be between 01/01/1753 12:00:00 am and 12/31/9999 11:59:59 pm.
I've created a TableAdapters for Missing Patches Summary report and Im calling this adapter in .cs class of this report...
Need help on this....
Thanx...
I'm having 2 .aspx page
1) Detected Vulnerabilities Report
2) Missing Patches Summary Report
When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im passing 2 parameters, (startdate and enddate) and between this range the report data will display...
After When I'm restarting my application again and now when Im clicking on Missing Patches Summary Report it is showing an error message as 'SqlDatetime overflow. Must be between 01/01/1753 12:00:00 am and 12/31/9999 11:59:59 pm.
I've created a TableAdapters for Missing Patches Summary report and Im calling this adapter in .cs class of this report...
Need help on this....
Thanx...
0
#2 17 Days Ago
You need to post the queries that are causing this error. Also you need to check any
DateTime values you send to the SQL Server: c# Syntax (Toggle Plain Text)
public static bool SqlTypeInRange(DateTime value) { return ((value <= System.Data.SqlTypes.SqlDateTime.MaxValue.Value) && (value >= System.Data.SqlTypes.SqlDateTime.MinValue.Value)); }
0
#4 14 Days Ago
You're welcome
Please mark this thread as solved if you have found a solution to your issue and good luck!
Please mark this thread as solved if you have found a solution to your issue and good luck!
![]() |
Similar Threads
- Run time stack overflow error help (C++)
- OnCalcField modifying its own DataSet - Error (Pascal and Delphi)
- Overflow error (Assembly)
- floating point : overflow error (C)
- Stack Overflow Error (C++)
- URGENT: JSP - StackOverFlow Error (JSP)
- divide overflow??? (Assembly)
- Won't load past startup; Divide overflow error? (Troubleshooting Dead Machines)
Other Threads in the ASP.NET Forum
- Previous Thread: programmaticly alter the command text of a sqldatasource???anyone?
- Next Thread: how to enlarge the image
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox click commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit expose flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list listbox login menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects order panelmasterpagebuttoncontrols problem radio ratings reportemail rotatepage save schoolproject search security serializesmo.table silverlight smartcard software sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice xml youareanotmemberofthedebuggerusers






