none
Data Quality Services error - Sequence contains no elements RRS feed

  • Question

  • I am trying to create a new knowledge base by importing from a DQS file.  This worked for the initial set of files, but when trying to import new versions of them receive the follow unhandled exception.

    I am using SQL Server 2017, all the DQS databases are created and permissions are sysadmin. I verified no errors in the sql server logs either.  I tried rebooting the server as well. 

    10/11/2018 2:39:23 PM|[]|1|ERROR|CLIENT|Microsoft.Ssdqs.Studio.ViewModels.Utilities.UIHelper|An error has occurred.
    System.InvalidOperationException: Sequence contains no elements;
       at System.Linq.Enumerable.Max[TSource](IEnumerable`1 source);
       at Microsoft.Ssdqs.Studio.ViewModels.Data.Process.ProcessProvider.GetExecutionStatus(ProcessType[] processType);
       at Microsoft.Ssdqs.Studio.ViewModels.ViewModels.DomainManagement.DomainManagementViewModel.InitializeDomainManagement();
       at Microsoft.Ssdqs.Studio.ViewModels.ViewModels.DomainManagement.DomainManagementViewModel.ValueChanged(DataProperty property, Object oldValue, Object newValue);
       at Microsoft.Ssdqs.Studio.Infra.DataObjects.DataObjectBase.InvokePropertyChanged(DataProperty dataProperty, Object oldValue, Object newValue);
       at Microsoft.Ssdqs.Studio.Infra.DataObjects.DataObjectBase.InternalSetValue(DataProperty dataProperty, Object value, Boolean updateBinding);
       at Microsoft.Ssdqs.Studio.Views.Pages.Application.StartPageView.OpenKnowledgebase(Knowledgebase knowledgebase);
       at Microsoft.Ssdqs.Studio.Views.Pages.Application.NewKnowledgebase.OpenKnowledgebaseExecuted(Object sender, ExecutedRoutedEventArgs e);
       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 System.Windows.Controls.Button.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)

    Thursday, October 11, 2018 6:59 PM

All replies

  • Hi,

    I'm having this issue as well. Did you find out what was causing this issue?

    Regards

    Chris

    Friday, January 11, 2019 12:41 AM