What patch level are you at? Assuming SP2010.

There is a fix in the following CU that looks to be a fix for your issue.
http://support.microsoft.com/kb/2687545


On 8 July 2013 09:28, Nigel Witherdin <[email protected]> wrote:

> Hey Guys,
>
> Just about to start looking into this one and trying some stuff, but as it
> is reasonably obscure thought I would throw it out there in case anyone
> else has encountered something similar. We have a library consisting of
> many thousands of document sets. Most of these document sets are fine, but
> have found one where trying to view the document set version history or
> create a new ds version throws an error:
>
> System.ArgumentException: An item with the same key has already been
> added.
>  at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
>
>  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value,
> Boolean add)
>  at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
>  at
> Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_ListItemUrlToInternalIdMap()
>
>  at
> Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.<CacheListItems>b__b(SPListItem
> item)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem
> item, Boolean fIncludeFolderItems, MonitoredScopeWrapper
> monitoredScopeWrapper, ItemProcessor itemProcessor,
> ItemProcessorErrorCallout errorCallout)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection
> items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder,
> MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor,
> ItemProcessorErrorCallout errorCallout)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.<>c__DisplayClass17.<ProcessItemsInFolder>b__16(SPListItemCollection
> items)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList
> list, SPQuery query, ItemsProcessor itemsProcessor,
> ItemsProcessorErrorCallout errorCallout)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList
> list, String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder
> folder, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout
> errorCallout)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList
> list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems,
> Boolean fIterateInReverseOrder, ItemProcessor itemProcessor,
> ItemProcessorErrorCallout errorCallout)
>  at
> Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList
> list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems,
> ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
>  at
> Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItems()
>
>  at
> Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Load()
>
>  at
> Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Add(Boolean
> isLastMajor, String comments)
>  at
> Microsoft.Office.DocumentManagement.Pages.CreateVersionUI.OnInit(EventArgs
> e)
>  at System.Web.UI.Control.InitRecursive(Control namingContainer)
>  at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
>
> anyone have any ideas or suggestions?
>
> Cheers,
>
> Nigel
>
> _______________________________________________
> ozmoss mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to