I have three workstations (running win7 home) and a centralized server (win7 pro) - all running Samba POS 2.99 using the server's SQL (not CE). Samba Messaging Server is setup and functioning properly.
Sometimes when I try to access the Work Period Report - I get the error "An item with the same key has already been added". Here are the results of some testing:
I can access the Work Period Report if I do any of the following:
1) I enter orders from workstation A and workstation B, but no orders are entered on workstation C.
2) I enter orders from workstation A and workstation C, but no orders are entered on workstation B.
3) Orders are only entered at workstation A
4) Orders are only entered at workstation B
5) Orders are only entered at workstation C
I can NOT access the Work Period Report if:
3) I enter orders from workstation B and workstation C, regardless of what I do on workstation A
It's like wkB + wkC = "An item with the same key has already been added."
Any ideas?
Thanks,
Tigmon
-----------------------------
[Exception Info 1]
Top-level Exception
Type: System.ArgumentException
Message: An item with the same key has already been added.
Source: mscorlib
Stack Trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Samba.Modules.BasicReports.SimpleReport.AddTable(String tableName, String[] headers) in C:\Projeler\SambaPOS2\Samba.Modules.BasicReports\SimpleReport.cs:line 58
at Samba.Modules.BasicReports.Reports.EndOfDayReport.EndDayReportViewModel.GetReport() in C:\Projeler\SambaPOS2\Samba.Modules.BasicReports\Reports\EndOfDayReport\EndDayReportViewModel.cs:line 367
at Samba.Modules.BasicReports.ReportViewModelBase.<>c__DisplayClass9.<RefreshReport>b__2(Object , DoWorkEventArgs ) in C:\Projeler\SambaPOS2\Samba.Modules.BasicReports\ReportViewModelBase.cs:line 179
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
-----------------------------
[Assembly Info]
mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
System, Version=4.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
Samba.Infrastructure, Version=1.0.0.0
System.Windows.Forms, Version=4.0.0.0
System.Windows.Interactivity, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
PropertyTools.Wpf, Version=2011.3.4771.32620
Microsoft.Practices.EnterpriseLibrary.Validation, Version=5.0.414.0
Samba.Domain, Version=1.0.0.0
System.Drawing, Version=4.0.0.0
System.Management, Version=4.0.0.0
UIControls, Version=1.0.0.0
System.Core, Version=4.0.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
Samba.Persistance.Data, Version=1.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0
mscorlib, Version=2.0.0.0
FlexButton, Version=1.0.0.0
WindowsFormsIntegration, Version=4.0.0.0