mirceadobre78's picture
Dec 04, 2014
2977 views
Reputation: 13

Sequence contains no matching element ERROR

Hi guys,

Running Samba for some time. Yesterday I close the day and today I am not able to re open the day. I am using the v 3 latest one.

The error is 

Sequence contains no matching element! 

 

[General Info]

 

Application: SambaPOS

Version:     3.0.35 BETA

Region:      en

DB:          CE

Machine:     INTEL-PC

User:        Intel

Date:        03/12/2014

Time:        10:08 p.m.

 

User Explanation:

 

Intel said ""

-----------------------------

 

[Exception Info 1]

 

Top-level Exception

Type:        System.InvalidOperationException

Message:     Sequence contains no matching element

Source:      System.Core

Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)

   at Samba.Services.Implementations.CacheService.GetRecipe(String portionName, Int32 menuItemId)

   at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.<CalculateCost>b__30(SalesData sale)

   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.CalculateCost(PeriodicConsumption pc, WorkPeriod workPeriod)

   at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.UpdatePeriodicConsumptionCost()

   at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.DoWorkPeriodStart()

   at Samba.Presentation.Services.Implementations.InventoryModule.InventoryWorkperiodProcessor.ProcessWorkPeriodStart(WorkPeriod workPeriod)

   at Samba.Presentation.Services.Implementations.WorkPeriodModule.WorkPeriodService.StartWorkPeriod(String description)

 

-----------------------------

 

[Assembly Info]

 

PresentationFramework, Version=4.0.0.0

System.Xaml, Version=4.0.0.0

Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0

mscorlib, Version=4.0.0.0

System, Version=4.0.0.0

WindowsBase, Version=4.0.0.0

Samba.Services, Version=1.0.0.0

Samba.Presentation.Services, Version=1.0.0.0

Samba.Domain, Version=1.0.0.0

PresentationCore, Version=4.0.0.0

Microsoft.Practices.ServiceLocation, Version=1.0.0.0

Samba.Infrastructure, Version=1.0.0.0

Microsoft.Practices.Prism, Version=4.0.0.0

Samba.Presentation.Common, Version=1.0.0.0

System.ComponentModel.Composition, Version=4.0.0.0

Samba.Localization, Version=1.0.0.0

 

-----------------------------

 

[System Info]

 

Operating System

-Microsoft Windows 7 Ultimate

--CodeSet = 1252

--CSDVersion = Service Pack 1

--CurrentTimeZone = -300

--FreePhysicalMemory = 552668

--OSArchitecture = 32 bits

--OSLanguage = 3082

--ServicePackMajorVersion = 1

--ServicePackMinorVersion = 0

--Version = 6.1.7601

 

Machine

-INTEL-PC

--Manufacturer = LENOVO

--Model = 9481AC5

--TotalPhysicalMemory = 2137251840

--UserName = Intel-PC\Intel

 

-----------------------------

 

######################### E N D #########################

We have already answers to
1029 questions
E-Posta Facebook Twitter RSS Skype
Telefon (212) 252 0634