Hi,
Since we deployed Flexmonster on our testing server we are getting an intermittent error when running a report saying "The given key was not present in the dictionary" (see attached screenshot). This was not occurring when testing on localhost environment and seems to mostly occur when running reports with many columns, rows, and values. Refreshing our application in the browser seems to make it go away. I did see this post on your forum: https://www.flexmonster.com/question/iis-app-pool-web-garden-mode-and-no-key-found-in-dictionary-error/. However, I do not believe we have any load balancing happening in this test environment.
We are a .Net MVC application running Accelerator v2.8.17 installed via Nuget. Does the latest update address this issue or do I need to explore some other way of fixing this?
Thanks,
Darius
Hello Darius,
Thank you for reporting.
It looks like a quite generic error that comes from .NET Dictionary class.
So, first of all, we recommend updating the Accelerator DLL from Nuget to the latest version and test if it helps.
Also, it would be helpful to look at the Accelerator logs. But DLL is not logging anything by default. Do you have any logs configured in your application to get the stack trace of this exception? It will help a lot to find the cause of the issue and fix it.
Look forward to hearing from you.
Regards,
Ian
Hi Ian,
We've tested this quite a bit since updating to the latest version and have not seen the error occur since then. I'll post back here if it ever pops up again but right now it appears that we are good. Thanks for the response.
Darius