Server Error in '/IDS' Application.

SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.]
   Corporate.Facade.HotelSystem.RoomsPublicAvailabilityAdultsChildren(DateTime StartDate, DateTime EndDate, String Culture, Int32 Adults, Int32 Children, Int32 BookingEngineID, LicenceType lt) +765
   WebFrontEndCorporate.ShowPromotion.HotelPublicAvailability(Int32 Adults, Int32 Children) +1645
   WebFrontEndCorporate.ShowPromotion.HotelPublicRoomTypesAvailable() +1915
   WebFrontEndCorporate.ShowPromotion.bindRepRoomTypes() +59
   WebFrontEndCorporate.ShowPromotion.Page_Load(Object sender, EventArgs e) +148
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0