当我们尝试对现有的sitecore项目进行任何更改并将其发布到Web DB时,我们会遇到异常。
以下是例外 - 消息:无法在具有唯一索引“ndxUnique”的对象“dbo.VersionedFields”中插入重复的键行。重复键值为(48338b8b-7bfb-44e4-9715-3bafc826abfe,en,1,b05b85e8-20a6-4f1c-9a04-1645d9a262b4)。
该声明已被终止。
来源:Sitecore.Kernel
at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteNonQuery()
at Sitecore.Data.DataProviders.Sql.SqlDataApi。<> c__DisplayClass15.b__14()
at Sitecore.Data.DataProviders.NullRetryer.Execute [T](Func 1 action, Action recover)
at Sitecore.Data.DataProviders.Sql.SqlDataProvider.WriteVersionedField(ID itemId, FieldChange change, DateTime now, Boolean fieldsAreEmpty)
at Sitecore.Data.DataProviders.Sql.SqlDataProvider.UpdateItemFields(ID itemId, ItemChanges changes)
at Sitecore.Data.DataProviders.Sql.SqlDataProvider.<>c__DisplayClass1d.<SaveItem>b__1b()
at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action action, Action recover)
at Sitecore.Data.DataProviders.Sql.SqlDataProvider.SaveItem(ItemDefinition itemDefinition, ItemChanges changes, CallContext context)
at Sitecore.Data.DataProviders.DataProvider.SaveItem(ItemDefinition item, ItemChanges changes, CallContext context, DataProviderCollection providers)
at Sitecore.Data.DataSource.SaveItem(ID itemID, ItemChanges changes)
at Sitecore.Data.Engines.EngineCommand
2.Execute()
at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)
at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)
at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics,Boolean silent)
at Sitecore.Data.Items.EditContext.Dispose()
在Sitecore.Publishing.PublishHelper.CopyToTarget(Item sourceVersion)
at Sitecore.Publishing.PublishHelper.PublishVersionToTarget(Item sourceVersion,Item targetItem,Boolean targetCreated)
at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.ExecuteAction(PublishItemContext context)
at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.Process(PublishItemContext context)
at(Object,Object [])
在Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)
在Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable 1 entries, PublishContext context)
at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable
1个条目,PublishContext上下文)
在Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable 1 entries, PublishContext context)
at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable
1个条目,PublishContext上下文)
at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1条目,PublishContext上下文)
at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)
有人对此有任何想法吗?