Multiple nodes with the same key 'node_key' were found. SiteMap requires that sitemap nodes have unique keys
yrios-cdd opened this issue · 0 comments
yrios-cdd commented
The menu is built using an implementation of IDynamicNodeProvider
. It is not possible for the list returned by the GetDynamicNodeCollection
method to include repeated nodes. The error only occurs with a user doing web scraping, when users use the application normally, the error does not occur.
The app uses Ninject as a DI container. I thought it might be related to the MvcSiteMapProvider cache and tried disabling it in:
I've also tried changing the scope of the instances to InRequestScope()
in:
But the error continues