Server Error in '/' Application.

The added or subtracted value results in an un-representable DateTime.
Parameter name: value

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.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: value

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:


[ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: value]
   System.DateTime.AddTicks(Int64 value) +14661580
   FertilabNetLogic.CalculadoraObj.FechasOvulacion(Double dCiclo, DateTime dtUltimaRegla) +86
   FertilabNetWeb.calculadora_imprimir.btnCalcular_Click(Object sender, EventArgs e) +219
   FertilabNetWeb.calculadora_imprimir.OnPreRender(EventArgs e) +1044
   System.Web.UI.Control.PreRenderRecursiveInternal() +110
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3624


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