Hi,
I'm running 10.21.13 and when I'm attempting to create a new language layer from an exisisting one if fails and reroutes me to "Create new website".
Please have a look at the attached clip which displays the behaviour.
Thanks,
Hi,
I'm running 10.21.13 and when I'm attempting to create a new language layer from an exisisting one if fails and reroutes me to "Create new website".
Please have a look at the attached clip which displays the behaviour.
Thanks,
Hi
Do you have any errors and exceptions in the eventlog?
If you try with developer tools do you get an exception?
Please post and we can have a look.
We have previously created a copy of an existing language layer, which was shortly thereafter deleted. Now when attempting to make a new copy the error persist.
Could this potentially cause the error?
This is the log:
2026-03-23 09:47:10.4982: Error happened while executing operation! Area was not copied!. System.Exception: Failed to create the paragraph copy(page: 4923; paragraph id: 20341; ).
---> System.Exception: Failed to create copy of the paragraph(20341) item('Swift_EmployeeCentralized' with id '4').
---> System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK__ItemType__3214EC072D6BFA4F'. Cannot insert duplicate key in object 'dbo.ItemType_Swift_EmployeeCentralized'. The duplicate key value is (281).
The statement has been terminated.
at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable)
at Dynamicweb.Content.Items.Queries.Repository.Update(IEnumerable`1 items, ItemContext context, Boolean synchronizePages)
at Dynamicweb.Content.Items.ItemEntry.Save(ItemContext context)
at Dynamicweb.Content.AreaService.CopyItem(Entity`1 source, String itemId, String itemType)
at Dynamicweb.Content.AreaService.CopyParagraphItem(Paragraph paragraph, Paragraph copiedParagraph, Dictionary`2 itemIndex)
ClientConnectionId:2a44e793-6b54-492e-8bc6-41b6f0f68211
Error Number:2627,State:1,Class:14
--- End of inner exception stack trace ---
at Dynamicweb.Content.AreaService.CopyParagraphItem(Paragraph paragraph, Paragraph copiedParagraph, Dictionary`2 itemIndex)
at Dynamicweb.Content.AreaService.CopyParagraphs(CopyAreaInfo copyAreaInfo, Action`1 copyStatusFn, Area sourceArea, List`1 itemsToUpdateLinks, Dictionary`2 itemIndex, Dictionary`2 pageIndex, Dictionary`2 paragraphIndex, IEnumerable`1 paragraphs)
--- End of inner exception stack trace ---
at Dynamicweb.Content.AreaService.CopyParagraphs(CopyAreaInfo copyAreaInfo, Action`1 copyStatusFn, Area sourceArea, List`1 itemsToUpdateLinks, Dictionary`2 itemIndex, Dictionary`2 pageIndex, Dictionary`2 paragraphIndex, IEnumerable`1 paragraphs)
at Dynamicweb.Content.AreaService.CopyArea(CopyAreaInfo copyAreaInfo)
2026-03-23 09:47:10.5051: Request headers: [
"Accept",
"Accept-Encoding",
"Accept-Language",
"Authorization",
"Connection",
"Content-Length",
"Content-Type",
"Cookie",
"Host",
"Referer",
"User-Agent",
"sec-ch-ua-platform",
"sec-ch-ua",
"sec-ch-ua-mobile",
"origin",
"sec-fetch-site",
"sec-fetch-mode",
"sec-fetch-dest",
"priority"
]
2026-03-23 09:47:10.5053: Request item keys: [
"DW_Current_ExecutionTable"
]
2026-03-23 09:47:10.5054: Request form: []
You must be logged in to post in the forum