@kasharif wrote:
Hi,
Anyone help me identify the issue here? Samba keeps crashing everytime i right click my ticket lister and click "design mode". Would prefer to be able to edit it rather than make the whole thing again.
Kind regards as always.
[General Info] Application: SambaPOS Version: 5.1.58 Region: en DB: SQ Machine: User: Date: 19/03/2016 Time: 01:01 User Explanation: said ----------------------------- [Exception Info 1] Top-level Exception Type: System.InvalidOperationException Message: Sequence contains more than one element Source: System.Core Stack Trace: at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__2[TResult](IEnumerable`1 sequence) at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot) at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source) at Samba.Infrastructure.Data.SqlData.EFWorkspace.Single[T](Expression`1 expression, Expression`1[] includes) at Samba.Services.Implementations.EntityModule.EntityService.LoadWidgets(String selectedEntityScreen) at Samba.Modules.EntityModule.EntityDashboardViewModel.LoadTrackableEntityScreenItems() at Samba.Modules.EntityModule.EntityDashboardView.CommandBinding_Executed(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.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at Samba.Presentation.App.Main() ----------------------------- [Assembly Info] mscorlib, Version=4.0.0.0 DevExpress.Xpf.LayoutControl.v14.1, Version=14.1.11.0 System.Xml, Version=4.0.0.0 DevExpress.Xpf.Grid.v14.1, Version=14.1.11.0 System, Version=4.0.0.0 DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.11.0 WindowsBase, Version=4.0.0.0 System.Xaml, Version=4.0.0.0 Samba.Domain, Version=1.0.0.0 System.Core, Version=4.0.0.0 PresentationFramework, Version=4.0.0.0 Samba.Infrastructure, Version=1.0.0.0 Microsoft.Practices.Prism, Version=4.0.0.0 System.Runtime.Serialization, Version=4.0.0.0 Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0 System.ComponentModel.Composition, Version=4.0.0.0 PresentationCore, Version=4.0.0.0 DevExpress.Xpf.Core.v14.1, Version=14.1.11.0 Samba.Services, Version=1.0.0.0 Samba.Presentation.Services, Version=1.0.0.0 System.Windows.Forms, Version=4.0.0.0 System.Drawing, Version=4.0.0.0 Stateless, Version=1.0.0.0 Samba.Persistance, Version=1.0.0.0 PropertyTools, Version=2012.4.14.1 Samba.Localization, Version=1.0.0.0 ReachFramework, Version=4.0.0.0 Samba.Infrastructure.Data, Version=1.0.0.0 EntityFramework, Version=6.0.0.0 FluentValidation, Version=3.4.0.0 Omu.ValueInjecter, Version=2.3.0.0 Microsoft.Practices.ServiceLocation, Version=1.0.0.0 Microsoft.CSharp, Version=4.0.0.0 ----------------------------- [System Info] Operating System -Microsoft Windows 7 Ultimate --CodeSet = 1252 --CSDVersion = Service Pack 1 --CurrentTimeZone = 0 --FreePhysicalMemory = 840608 --OSArchitecture = 32-bit --OSLanguage = 1033 --ServicePackMajorVersion = 1 --ServicePackMinorVersion = 0 --Version = 6.1.7601 Machine -ROUTE34 --Manufacturer = Dell Inc. --Model = OptiPlex 780 --TotalPhysicalMemory = 2092552192 --UserName = -----------------------------
Posts: 1
Participants: 1