Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mhairi Bell 1 post 21 karma points
    Mar 29, 2014 @ 21:02
    Mhairi Bell
    0

    Error: The supplied DateTime represents an invalid time.

    This morning one of our sites went down. When I visit either the site or the Admin I get the following YSOD:

    Server Error in '/' Application.

    The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.
    Parameter name: dateTime

    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.ArgumentException: The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.
    Parameter name: dateTime

    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: 

    [ArgumentException: The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.
    Parameter name: dateTime]
       System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, CachedData cachedData) +14390506
       System.TimeZoneInfo.ConvertTimeToUtc(DateTime dateTime, TimeZoneInfo sourceTimeZone) +80
       Quartz.CronExpression.GetTimeAfter(DateTime afterTimeUtc) +6320
       Quartz.CronTrigger.GetTimeAfter(DateTime afterTime) +71
       Quartz.CronTrigger.GetFireTimeAfter(Nullable`1 afterTimeUtc) +541
       Quartz.CronTrigger.ComputeFirstFireTimeUtc(ICalendar cal) +133
       Quartz.Core.QuartzScheduler.ScheduleJob(SchedulingContext ctxt, JobDetail jobDetail, Trigger trigger) +551
       Quartz.Impl.StdScheduler.ScheduleJob(JobDetail jobDetail, Trigger trigger) +36
       gmac.Global.ScheduleZooplaMorningsideFeed(IScheduler scheduler) in C:\Work\Gecko\GillespieMacandrew\Global.asax.cs:130
       gmac.Global.ScheduleJobs() in C:\Work\Gecko\GillespieMacandrew\Global.asax.cs:33
       gmac.Global.OnApplicationStarted(Object sender, EventArgs e) in C:\Work\Gecko\GillespieMacandrew\Global.asax.cs:20
       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +86
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +32
    
    [HttpException (0x80004005): The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.
    Parameter name: dateTime]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12949749
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
    
    [HttpException (0x80004005): The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.
    Parameter name: dateTime]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12966756
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12806561
    



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

    We run many sites on Umbraco but so far only this site has been affected by this error, we're running v4.11.10.

    Googled this error and it looks like its related to daylight saving hours, but that's not supposed to happen till tonight at 2am? 

    Has anyone else seen this error today, how did you resolve the issue?

    Thanks
    Mhairi


  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 31, 2014 @ 16:39
    Jan Skovgaard
    0

    Hi Mhairi

    Does the culture settings in the web.config look the same as in some of your others sites? And what time is the server running? Has it been changed to another time-zone or has it updated to daylight savings correctly?

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft