I have a page that uses a datatree working fine, by an unknown reason, the page begins to show this error message "Operation is not valid due to the current state of the object" and the stack points to webhierarchicaldatasource of the webdatatree, how can I fix this problem?, I have searched info on the web and it points to the MaxHttpCollectionKey, I added a section in my webconfig to add the value of 2000 to the http collection keys but it do not work
I have found the solution, is a modification to the webconfig, the problem is caused by a security update that limits the number of elements of some controls, this is the modification, I have found it in the infragistics forums related to the dropdownlist control
<appSettings> <add key="aspnet:MaxHttpCollectionKeys" value="5000" /> <add key="aspnet:MaxJsonDeserializerMembers" value="5000" /> </appSettings>