I've created a usercontrol, added it to the site in a macro and when i'd put it on the page and done a save and publish, all nodes now come up with the following error.
Server Error in '/' Application.
Item has already been added. Key in dictionary: '28' Key being added: '28'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: '28' Key being added: '28'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
We keep getting this error. Touching the web.config is not a viable solution with an angry client on your back!
Does anyone know the cause of this? It appears to happen at the same place - I always get key 28 being returned too. What is key 28, which piece of data does it relate to and can I manipulate anything in the database to stop this happening?
One of my client is also complaining about the same error..
They are doing lot of activities on backend of the website. Touching the web.config or refresh app pool is not a permanent solution. So I'm looking for a permanent fix for this. It would be great if someone can help me to fix this / some tips
Item has already been added. Key in dictionary:
Hi,
I've created a usercontrol, added it to the site in a macro and when i'd put it on the page and done a save and publish, all nodes now come up with the following error.
Can someone help me sort this out or point me in the right direction please?
Thanks
Chris
Have you tried "touching" the web.config to restart the app?
Thanks Mike, I recycled the app pool and that has sorted it.
Cheers
We keep getting this error. Touching the web.config is not a viable solution with an angry client on your back!
Does anyone know the cause of this? It appears to happen at the same place - I always get key 28 being returned too. What is key 28, which piece of data does it relate to and can I manipulate anything in the database to stop this happening?
Thanks!
Jenni
Hi,
One of my client is also complaining about the same error..
They are doing lot of activities on backend of the website. Touching the web.config or refresh app pool is not a permanent solution. So I'm looking for a permanent fix for this. It would be great if someone can help me to fix this / some tips
Thanks,
Madura
It's Umbraco bug.
You need to rebuild source code follow _http://umbraco.codeplex.com/SourceControl/changeset/18d853003c17#src/umbraco.cms/businesslogic/ContentType.cs
More detail please see _http://richardsrhan.blogspot.tw/2011/07/umbraco-item-has-already-been-added-key.html
Richard
is working on a reply...