Hi,
I am using SPFile.SendToOfficialFile method to move documents across site collections.
SPOfficialFileHost Action is set to SPOfficialFileAction.Link, so that it replace the item in source site with a link.
Some times the document moves to the destination site but the item in the source site is not replaced by link.
and the below error is logged in ULS logs.
OfficialFile::SubmitFile: Encountered error when sending file <sourcefilepath> tohttp://server/sites/destination/_vti_bin/officialfile.asmx:
Server was unable to process request. ---> Exception has been thrown by the target of an invocation. ---> creatingField
What does this error mean?
Thanks in advance,
dhijit