We have a sharepoint designer workflow that copies a document from one library to another on the same site.
Before the upgrade to 2007 it worked fine, but now with 2010 it gives an error and cancels the workflow when it gets to the copy list item step.
The error on the workflow page:
The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings. Access Denied
Specifically it is the "copy list item current item to documentlibrary" sharepoint designer workflow action.
I have given the system account full permissions to the library and double checked that all columns are the same in both libraries.
These are the verbose trace logs:
09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72er Medium System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData)
09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData) at Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items)
09/01/2010 09:46:04.04 w3wp.exe (0x17C4) 0x093C SharePoint Foundation General 8kh7 High <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.
09/01/2010 09:46:04.04 w3wp.exe (0x17C4) 0x093C SharePoint Foundation General 9mpn High File exception: System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.Library.SPRequest.UpdateFileOrFolderProperties(String bstrWebUrl, String bstrWebRelativeUrl, Object varProperties, Int32 fMigrationSemantics, Int32 fReGhost, Byte& piLevel) at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost)
Any help would be appreciated, thank you!