[Błąd] Mozart WWW – The added or subtracted value results in an un-representable DateTime.

Problem:

Jeżeli podczas próby uruchamiania ekranu WWW pojawia się komunikat z dołu strony, to oznacza, że prawdopodobnie pojawił się problem błędnej daty systemowej. Prawdopodobnie na maszynie, na której postawiony jest serwer WWW (IIS) mamy przestawioną datę.

Rozwiązanie: 

Rozwiązanie polega na przywróceniu właściwej daty na serwerze.

Server Error in ‘/’ Application.

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

Parameter name: months

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: months

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: months]

   System.DateTime.AddMonths(Int32 months) +11618266

   System.DateTime.AddYears(Int32 value) +42

   DevExpress.Web.ASPxClasses.Internal.ResourceManager.GetDateToken(DateTime date) +36

   DevExpress.Web.ASPxClasses.Internal.ResourceManager.GetResourcesUrlString(Page page, IEnumerable`1 resources) +83

   DevExpress.Web.ASPxClasses.Internal.ResourceManager.GetResourceUrlInternal(Page page, Assembly assembly, String resourceName) +252

   DevExpress.Web.ASPxClasses.Internal.ResourceManager.GetResourceUrl(Page page, Assembly assembly, String resourceName) +116

   DevExpress.Web.ASPxClasses.EmptyImageProperties.GetDefaultEmptyImageUrl(Page page) +41

   DevExpress.Web.ASPxClasses.EmptyImageProperties.GetGlobalEmptyImage(Page page) +50

   DevExpress.Web.ASPxClasses.ImagePropertiesBase.AssingToControl(WebControl control, String url, String spriteCssClass, Unit spriteLeft, Unit spriteTop, Boolean designMode) +311

   DevExpress.Web.ASPxClasses.ImagePropertiesBase.AssignToControl(Image image, Boolean designMode, Boolean disabled) +138

   DevExpress.Web.ASPxRoundPanel.Internal.RPRoundPanelControl.CreateCornerImage(TableCell cell, PanelCornerPart props, Boolean imageIsResource) +112

  DevExpress.Web.ASPxRoundPanel.Internal.RPRoundPanelControl.CreateCornerImages() +68

   DevExpress.Web.ASPxRoundPanel.Internal.RPRoundPanelControl.CreateControlHierarchy() +2343

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls() +113

  System.Web.UI.Control.EnsureChildControls() +92

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls() +4

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.DevExpress.Web.ASPxClasses.Internal.IASPxWebControl.EnsureChildControls() +10

   DevExpress.Web.ASPxClasses.Internal.RenderUtils.EnsureChildControlsRecursive(Control control, Boolean skipContentContainers) +37

   DevExpress.Web.ASPxClasses.Internal.RenderUtils.EnsureChildControlsRecursive(Control control, Boolean skipContentContainers) +144

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControlsRecursive(Control control, Boolean skipContentContainers) +12

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControlsRecursive(Control control) +37

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls() +113

   DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls() +141

   System.Web.UI.Control.EnsureChildControls() +92

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls() +4

   DevExpress.Web.ASPxClasses.ASPxWebControl.InitInternal() +60

   DevExpress.Web.ASPxClasses.ASPxWebControlBase.OnInit(EventArgs e) +30

   DevExpress.Web.ASPxClasses.ASPxWebControl.OnInit(EventArgs e) +24

   System.Web.UI.Control.InitRecursive(Control namingContainer) +139

   System.Web.UI.Control.InitRecursive(Control namingContainer) +312

   System.Web.UI.Control.InitRecursive(Control namingContainer) +312

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408

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

Scroll to Top