UtcSetLastModified - Specified argument was out of the range of valid values.

Discussion in 'General troubleshooting' started by wallaceturner, Sep 3, 2011.

  1. Hi Guys I am a new customer based in Perth, Australia.

    I am getting an error when I try to access a certain page of my site

    http://wallaceturner.com/feed

    which results in

    Server Error in '/' Application.
    'Specified argument was out of the range of valid values.'


    See full stack trace below.

    This works on my local testing environment. From googling it appears this is a timezone/timestamp issue, see for example http://blog.brianhartsock.com/2009/...achepolicyutcsetlastmodifieddatetime-utcdate/

    There is none of my code in the stack-trace, ie its occuring outside and beyond my control. I notice when I upload files the timestamp on the files is modified to the current time in my region (+8) but this may be completly unrelated.

    Is there anything you guys can do to fix this problem?






    Server Error in '/' Application.

    Specified argument was out of the range of valid values.
    Parameter name: utcDate

    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: Specified argument was out of the range of valid values.
    Parameter name: utcDate

    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: Specified argument was out of the range of valid values.
    Parameter name: utcDate]
    System.Web.HttpCachePolicy.UtcSetLastModified(DateTime utcDate) +3176622
    System.Web.HttpCachePolicyWrapper.SetLastModified(DateTime date) +50
    FunnelWeb.Web.Application.Mvc.ActionResults.FeedResult.ExecuteResult(ControllerContext context) in D:\aaa_development\FunnelWeb\funnelweb_dev\src\FunnelWeb.Web\Application\Mvc\ActionResults\FeedResult.cs:35
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
    System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +23
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +264
    System.Web.Mvc.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b() +20
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +264
    System.Web.Mvc.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b() +20
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176
    System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +329
    System.Web.Mvc.Controller.ExecuteCore() +115
    System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +94
    System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
    System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +37
    System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
    System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +12
    System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
    System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +31
    System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7
    System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23
    System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59
    System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8897857
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
     
  2. Elshadriel

    Elshadriel Winhost Staff

  3. Thats because I posted the issue at 7am and you looked at it at 4:20pm. (ie 9 hrs later) By that time the problem had 'fixed' itself because your time had caught up.

    I will upload the entire website again shortly to demostrate what happens.

    When I push my files to your ftp server where does it get the file time stamp from? I've tried changing my clock and it still pushes my current time/date (+8)
     
  4. Elshadriel

    Elshadriel Winhost Staff

    Our servers are located in the West Coast, so the time zone is UTC/GMT -7 hours. The time stamp is derived from the server's clock.
     
  5. Hi, I deleted and uploaded my entire site and the problem hasn't reoccured, so will leave it at that.

    Deleting and uploading was quite painful as each file is deleted individually.
    1) Can you bulk delete?
    2) Can you upload a zip or 7z and extract? (If No, can you add support for this)?
    3) Can you have shell access ?
    4) Can your FTP server provide support for MFMT so as to preserve file timestamps ?

    Cheers
     
  6. Elshadriel

    Elshadriel Winhost Staff

    1) Can you bulk delete?

    I'm afraid we don't have some sort of bulk delete tool. You can open up a support ticket and request to have your site reset to it's default state.

    2) Can you upload a zip or 7z and extract? (If No, can you add support for this)?

    I'm afraid the answer is no to both.

    3) Can you have shell access ?

    I'm afraid the answer is no.

    4) Can your FTP server provide support for MFMT so as to preserve file timestamps ?

    http://forums.iis.net/p/1163885/1930121.aspx

    It is not supported.
     
    Last edited by a moderator: Oct 14, 2015

Share This Page