One content type broken all of a sudden (key allready exsists)
My main contenttype is broken all of a sudden..
When I try to edit a node of this contenttype (textpage), Umbraco throws this error.. It seems its confused about a property all of a sudden?
Any ideas?
I'm using Umbraco 6.0
An item with the same key has already been added.
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: An item with the same key has already been added.
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.
Stack Trace:
[ArgumentException: An item with the same key has already been added.]
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +14169316
umbraco.controls.ContentControl.AddControlNew(Property p, TabPage tp, String Caption) +285
umbraco.controls.ContentControl.CreateChildControls() +859
System.Web.UI.Control.EnsureChildControls() +189
umbraco.controls.ContentControl.OnInit(EventArgs e) +51
System.Web.UI.Control.InitRecursive(Control namingContainer) +186
System.Web.UI.Control.AddedControl(Control control, Int32 index) +189
umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1167
System.Web.UI.Control.InitRecursive(Control namingContainer) +186
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098
I think that what *may* have happened that I edited the contenttype added/deleted the same property a few times. I have a DB backup, so I guess I'll try to restore it instead..
One content type broken all of a sudden (key allready exsists)
My main contenttype is broken all of a sudden..
When I try to edit a node of this contenttype (textpage), Umbraco throws this error.. It seems its confused about a property all of a sudden?
Any ideas?
I'm using Umbraco 6.0
An item with the same key has already been added.
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: An item with the same key has already been added.
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.
Stack Trace:
I've seen this error before. Usually restarting the website fixed the problem.
Jeroen
Tried that and deleting the xml cache as well..
I think that what *may* have happened that I edited the contenttype added/deleted the same property a few times. I have a DB backup, so I guess I'll try to restore it instead..
is working on a reply...