Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Issue with SendToOfficialFile

$
0
0

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


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>