Key in Dictionary



This error message "Item has already been added. Key in dictionary . . . "
has become a major problem for me.

I have a website whose main attractions (the money maker) are the two
datagridviews used to return user requested information. The site is still
in debug mode as we're in the final testing phase, so we're pounding the
query and the grid to test it thoroughly.

This site was built with VS 2K5, DotNet 2.0 on a Windows 2003 server and is
AJAX enabled.

This error is now popping up frequently and can only be corrected by
removing the datakeyNames from the settings, saving and then re-inputting
the keys. The Datamember is set to 'DefaultView'. I have no custom
dictionaries and no code to manage these keys (neither to add nor to remove
keys). Googling the error I found many folks suffering from the problem,
but no one had even mentioned simply removing the keys.

My site is 'DOWN' if I cannot get this problem resolved.

What can I do to stop getting this error? Do I have to manage the keys?
How?

Thanks tremendously in advance.

Ross


.



Relevant Pages

  • Re: Fazer in Milton Keynes
    ... In message, Champ writes ... to the 'park' position before removing it, not that he'd left the keys ...
    (uk.rec.motorcycles)
  • Re: Key in Dictionary
    ... Thanks for responding Alvin, and frankly, as prolific as this error is, I can't understand why everyone is jumping up and down screaming foul. ... Is it possible to clear the dictionary after each row selection? ... dictionaries and no code to manage these keys (neither to add nor to ... but no one had even mentioned simply removing the keys. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Laptop keyboard maintenance
    ... Most keyboards have some means of removing the keys. ... > that will make cleaning easier. ... Wish there was some detailed Howto about laptop keyboard ...
    (comp.os.linux.hardware)
  • Re: Stubborn Spyware
    ... > keys and I still am having no luck in removing whatever it is that is ... I deleted some registery keys per Windows ... Did you post your HijackThis log? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Key in Dictionary
    ... Keys must be unique, the constraints ... It seems obvious to me that you have a dupe in the process ... but no one had even mentioned simply removing the keys. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)