Given key was not present error
Question

Hi,

I am getting "The given key was not present in the dictionary " 

I debugged and checked couldn't find the error Please help in this!


Thank you

Hi Primal,

We would like to get more information about your issue. However, checking this topic:

95% of the time it the error is caused by a line in a aggregate's SORT like this:

    List_SortColumn_GetOrderBy(SplitTable.Id, "{Split}.[TransactionType]")

Where the column no longer exists in a given table.  The generated server shouldn't crash like this, therefore, this is a bug.  To fix, obviously, revise this line appropriately.

Regards!

Tiago Gomes wrote:

Hi Primal,

We would like to get more information about your issue. However, checking this topic:

95% of the time it the error is caused by a line in a aggregate's SORT like this:

    List_SortColumn_GetOrderBy(SplitTable.Id, "{Split}.[TransactionType]")

Where the column no longer exists in a given table.  The generated server shouldn't crash like this, therefore, this is a bug.  To fix, obviously, revise this line appropriately.

Regards!

 

 Thanks Tiago, this is what I searching for.

mvp_badge
MVP

Hi Primal,

Plz read this article on how to ask a question. We need a lot more information from your side like print screens and description on what your code does.

Regards,

Marcelo

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.