Running Operations Manager reports fail with "System.ArgumentOutOfRangeException" error


When running reports using the Operations Manager console, the report fails with the error message below:

Date: <date-time>
Application: Operations Manager
Application Version: 7.0.9538.0
Severity: Error
Message: Cannot execute report.
System.ArgumentOutOfRangeException: Value of '0001-01-01 12:00:00 AM' is not valid for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'.
Parameter name: Value
   at System.Windows.Forms.DateTimePicker.set_Value(DateTime value)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.Controls.RelativeDateTimePicker.LoadRelativeDateValues(ComboBox dateEditor, DateTimePicker timeEditor, ReportParameterInfo dateBaseTypeParameter, ReportParameterInfo dateBaseValueParameter, ReportParameterInfo dateOffsetTypeParameter, ReportParameterInfo dateOffsetValueParameter)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.Controls.RelativeDateTimePicker.LoadValues(ReportParameterInfoCollection reportParameters)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.Controls.RelativeDateTimeBusinessPicker.LoadValues(ReportParameterInfoCollection reportParameters)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.ReportParameterBlock.LoadValues()
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.OnRenderingCompleteJob(Object sender, ConsoleJobEventArgs args)


This issue can occur if there is a custom Short DateTime format being used on the console server.

For example, say the system locale on the Operations console server is ENC and the default short DateTime format for ENC locale is dd/MM/yyyy. If this short DateTime format is changed from dd/MM/yyyy to a different format such as yyyy-MM-dd, the error above may occur.


To resolve this issue, set the short DateTime format to the system locale's default value.

More Information

Custom DateTime formats are not supported with System Center Operations Manager reporting.

Article ID: 2836388 - Last Review: Apr 18, 2013 - Revision: 1

Microsoft System Center 2012 Operations Manager Service Pack 1, Microsoft System Center 2012 Operations Manager, Microsoft System Center Operations Manager 2007 R2, Microsoft System Center Operations Manager 2007 Service Pack 1, Microsoft System Center Operations Manager 2007