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

Word Automation Services returns Errorcode 10

$
0
0

Hi,

I have written a SPItemEventReceiver which fires on ItemAdded in a documentlibrary.
ItemAdded is starting a ConversionJob for converting a .docx to a .pdf.

The code is similar to the sample code from:
http://msdn.microsoft.com/en-us/library/ff181518(v=office.14).aspx

After submitting a docx to the documentlibrary it tries to poll the status
every five second:

status = new ConversionJobStatus("Word Automation Services", jobConversion.JobId, null);

ItemAdded has been working well for a while but has now stopped working.
Before it stopped working it took about a minute to convert the docx.

Now after about 220 tries or so it stops with a status of Failed.

Investigating the Errorcode and ErrorMessage:
ErrorCode:10,
ErrorMessage:The file could not be converted due to an intermittent error in the system. Please resubmit this file for conversion. If the file fails again with this error message, contact your system administrator.

My questions are:

1. What might be causing this error?

2. How do I troubleshoot this error?

BR
Detlef 


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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