0

System Invalid Operation Exception Error: Sequence contains more than one element

Good Afternoon,

I faced an error this afternoon when debugging a code that I just wrote. I followed the Met/CAL Editor Basics in the User's Guide in MET/CAL and when I pressed F5, this error showed up in the Output window:

ERROR: System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton[TElement](Expression expression)
at System.Data.Services.Client.DataServiceQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source)
at Metteam.Storage.MtsMetcalStorage.GetAsset(String number)
at db_getAsset(SByte* assetNumber)
at ?A0x361b10a1.acch_get_interval(SByte* asset, acch_cal_interval* interval)
at ?A0x361b10a1.acch_sel()
at acch_select()
at ?A0xbade5cde.tr_start(block* blk, proc* proc)
at ?A0xbade5cde.tr_run()
at tr_handleStep()
at Fluke.Metcal.Editor.Project.TestRunManager.TestRunStep()
at Fluke.Metcal.Editor.Project.TestRunManager.StartTestRun(McProjectNode project, String file, Boolean restart)

I do not know what is going on. Any help will be appreciated.

Thanks.

 

Please sign in to leave a comment.