Not applicable

SP 2010 copy from doc to picture library

I have a SP 2010 document library that I scan and upload images to by using the KnowledgeLake Capture product. Until recently the copy item from the document library to a picture library on the same site collection worked without issue but now that the libraries have grown in size (@ 20k # of items) I'm receiving error notices from the doc library workflow but the images are still being copied successfully.  I've checked the ULS and it states error retrieving config XML 'Create Item'...An item with the same key has already been added.  I've verified only 1 item exists with the SP ID and I've tried another suggestion from another blog of creating a new copy action item and republishing the workflow but so far, I'm still getting the error notices.  Any thoughts or solutions would be appreciated.

0 Kudos
Reply
5 Replies
jflegras
Novice

Re: SP 2010 copy from doc to picture library

David,

could you give more details about the error :

  • Are you sure the problem depends only on the number of items
  • Could you test your workflow with an empty copy of your pictures library (save as template)
  • Could you give ULS error
Reply
andrewg
Scout

Re: SP 2010 copy from doc to picture library

Check on David's request first. But also are there any names that conflict?

Reply
Not applicable

Re: SP 2010 copy from doc to picture library

Jean, I hope to answer your questions and thank you for the response.

1. No, it doesn’t seem to matter how many items are uploaded at one time, it seems to have more to do with if the server responds or has processed another workflow recently.

2. I’ve tested the workflow and it works for me but by the time I got to testing several items had been posted. Oddly, the first 3 items to be posted kicked out an error notice and then the 4th which was posted 1 minute later worked without issue.

3. I’m including the snippet from the ULS log, this seems to be either a server configuration error or a server resource error.. I tend to think it’s not a resource error due to the fact that all other workflows that have fired subsequent to the 1st 3 have worked without issue. I looked up the winWF error and it refers to not allowing nulls in workflows. But my question to that is, why wouldn’t it fail every time the workflow is fired then?

ULS log

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportServerContentTypeGroup", keyfile core.

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportServerContentTypeGroup' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportServerContentTypeGroup", keyfile .

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportServerContentTypeGroup' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportBuilderContentTypeName", keyfile core.

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportBuilderContentTypeName' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportBuilderContentTypeName", keyfile .

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportBuilderContentTypeName' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportServerContentTypeGroup", keyfile core.

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportServerContentTypeGroup' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportServerContentTypeGroup", keyfile .

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportServerContentTypeGroup' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportBuilderModelName", keyfile core.

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportBuilderModelName' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8e25 Medium Failed to look up string with key "ReportBuilderModelName", keyfile .

12/29/2015 07:48:00.83 w3wp.exe (0x1338) 0x47DC SharePoint Foundation General 8l3c Medium Localized resource for token 'ReportBuilderModelName' could not be found for file with path: "(unavailable)".

12/29/2015 07:48:00.89 w3wp.exe (0x1338) 0x47DC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Nintex.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12, Nintex.Workflow.ConditionalWorkflowStartReceiver)#8). Execution Time=170.717158186306

12/29/2015 07:48:00.89 w3wp.exe (0x1338) 0x47DC SharePoint Foundation Workflow Infrastructure 72fg High Error in persisting workflow: System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout --- End of inner exception stack trace --- at System.Transactions.TransactionStateAborted.CreateAbortingClone(InternalTransaction tx) at System.Transactions.DependentTransaction..ctor(IsolationLevel isoLevel, InternalTransaction internalTransaction, Boolean blocking) at System.Transactions.Transaction.DependentClone(DependentCloneOption cloneOption) at System.Transactions.TransactionScope.SetCurrent(Transaction newCurrent) at System.Transactions.TransactionScope.PushScope() at System.Transactions.TransactionScope..ctor(TransactionScopeOption scopeOption) at Microsoft.SharePoint.Workflow.SPWinOePersistenceService.Commit(Transaction transaction, ICollection items)

12/29/2015 07:48:00.92 w3wp.exe (0x1338) 0x47DC SharePoint Foundation Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# 1740662d-3a85-4f09-b67b-d766b7f909f2

12/29/2015 07:48:00.92 w3wp.exe (0x1338) 0x47DC SharePoint Foundation Workflow Infrastructure 98d4 Unexpected System.Workflow.Runtime.Hosting.PersistenceException: The transaction has aborted. ---> System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout --- End of inner exception stack trace --- at System.Transactions.TransactionStateAborted.CreateAbortingClone(InternalTransaction tx) at System.Transactions.DependentTransaction..ctor(IsolationLevel isoLevel, InternalTransaction internalTransaction, Boolean blocking) at System.Transactions.Transaction.DependentClone(DependentCloneOption cloneOption) at System.Transactions.TransactionScope.SetCurrent(Transaction newCurrent) at System.Transactions.TransactionScope.PushScope() at System.Transactions.TransactionScope..ctor(TransactionScopeOption scopeOption) at Microsoft.SharePoint.Workflow.SPWinOePersistenceService.Commit(Transaction transaction, ICollection items) at System.Workflow.Runtime.WorkBatch.PendingWorkCollection.Commit(Transaction transaction) at System.Workflow.Runtime.WorkBatch.Commit(Transaction transaction) at System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) at System.Workflow.Runtime.Hosting.DefaultWorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) at System.Workflow.Runtime.WorkflowExecutor.CommitTransaction(Activity activityContext) at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation) --- End of inner exception stack trace --- at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation) at System.Workflow.Runtime.WorkflowExecutor.System.Workflow.ComponentModel.IWorkflowCoreRuntime.PersistInstanceState(Activity activity) at System.Workflow.ComponentModel.Activit

Thank you

Dave Heineman

Bureau of Information Processing

Illinois Department of Transportation

P Please consider the environment before printing this email

Reply
jflegras
Novice

Re: SP 2010 copy from doc to picture library

Daid,

nothing obvious in this. As you are exceeding SharePoint limits, you may experience perf issue.

To confirm this, could you try to begin your workflow with "wait 1 minute" to force a commit point and insert "Commit pending changes" after each copy.

Reply
gman
Apprentice

Re: SP 2010 copy from doc to picture library

David,

Does your copy workflow use any Query filtering? Can you outline the steps you go through before creating the copy?

Reply