cancel
Showing results for 
Search instead for 
Did you mean: 

Dashboard Crashing with "String was not recognized as a valid DateTime." error.

Justin_Johnson1
Champ in-the-making
Champ in-the-making

We're trying to dig into the Dashboards module for reporting, etc. I can create a new dashboard without issue. We use OnBase 16.

However, whenever I click on Properties or Design, I get an "Exception" pop-up with the alert "String was not recognized as a valid Date Time." message. I went through Windows options (I'm using Windows 10) to change my date/time format to various different formats but keep getting the same error.


Design Show Details:

System.FormatException: String was not recognized as a valid DateTime.

  at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)

  at System.Convert.ToDateTime(String value, IFormatProvider provider)

  at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)

  at System.Convert.ToDateTime(Object value)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock..ctor(ILockScope scope, Element lockInfo)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock.ExecuteAcquireConfigLockRequest(ILockScope item, ConfigLock& itemLock)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock.TryObtainLock(ILockScope item, ConfigLock& itemLock)

  at Hyland.Canvas.ReportServices.OnBaseDashboardDesigner.OnLoad(EventArgs e)


Properties Show Details:

"System.FormatException: String was not recognized as a valid DateTime.

  at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)

  at System.Convert.ToDateTime(String value, IFormatProvider provider)

  at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)

  at System.Convert.ToDateTime(Object value)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock..ctor(ILockScope scope, Element lockInfo)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock.ExecuteAcquireConfigLockRequest(ILockScope item, ConfigLock& itemLock)

  at Hyland.Canvas.ReportServices.Configuration.ConfigLock.TryObtainLock(ILockScope item, ConfigLock& itemLock)

  at Hyland.Canvas.ReportServices.UICommands.DashboardViewerShowPropertiesCommand.ShowPropertiesDialog(Dashboard dobject, Type selectedPageType, Window parenWnd, IntPtr ownerHandle, Boolean showDesignButton)

  at Hyland.Canvas.ReportServices.UICommands.DashboardViewerShowPropertiesCommand.Execute(DashboardViewerCommandArgs args)

  at Hyland.Canvas.ReportServices.TabbedDashboardViewer.ExecuteCommand(Object sender, ExecuteRoutedEventArgs`1 args)

  at lambda_method(Closure , Object , Object , Object )

  at Hyland.Canvas.Services.CommandRibbonBindingHandler.ExecuteHandler(Object sender, ExecutedRoutedEventArgs args)

  at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

  at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)

  at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

  at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

  at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

  at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)

  at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)

  at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

  at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

  at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

  at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

  at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

  at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)

  at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)

  at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

  at System.Windows.Controls.Primitives.ButtonBase.OnClick()

  at Infragistics.Windows.Ribbon.ButtonTool.OnClick()

  at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

  at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

  at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

  at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

  at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

  at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

  at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

  at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

  at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

  at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

  at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

  at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

  at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

  at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

  at System.Windows.Input.InputManager.ProcessStagingArea()

  at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

  at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

  at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

  at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

  at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

  at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

1 ACCEPTED ANSWER

Justin_Johnson1
Champ in-the-making
Champ in-the-making

Turns out my computer's date/time format needed to exactly match the app server AND I was not connected to the server with the reporting services.

View answer in original post

1 REPLY 1

Justin_Johnson1
Champ in-the-making
Champ in-the-making

Turns out my computer's date/time format needed to exactly match the app server AND I was not connected to the server with the reporting services.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.