DynamicsNinja / FastRecordCounter

XrmToolBox tool that allows you to get the number of total records per entity instantly
MIT License
2 stars 1 forks source link

System.Collections.Generic.KeyNotFoundException #8

Open M-Samson opened 1 week ago

M-Samson commented 1 week ago

[Write any error info to resolve easier]

Replication steps:

  1. Clicked 'Select All'
  2. Clicked 'Count'
  3. Error received

System.Collections.Generic.KeyNotFoundException:
The given key was not present in the dictionary.
mscorlib
- System.ThrowHelper.ThrowKeyNotFoundException()
- System.Collections.Generic.Dictionary`2.get_Item(TKey key)
- Fic.XTB.FastRecordCounter.FastRecordCounter.<>c__DisplayClass28_1.<ExecuteRetrieveTotalRecordCount>b__3(List`1 chunk)
- System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
- System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
- System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)

DynamicsNinja commented 1 week ago

Did it fail for all tables or just some of them?

M-Samson commented 1 week ago

All tables. Even when running individual tables, it still fails.

It is a relatively new environment (about a week old) but it did run correctly on the first day, just no other day since.

It works perfectly fine on the other two environments we run counts on every day.

terra819 commented 5 days ago

Also receiving this error. First time trying to use.