I have been stuck on this issue for couple of days. In my development environment which is a standalone SharePoint enterprise, the following code works flawlessly:
SyncConverter syncConv = new SyncConverter(“Word Automation Services”); syncConv.Settings.OutputFormat = SaveFormat.PDF; ConversionItemInfo convInfo = syncConv.Convert(inStream, outStream);
In the staging environment, I get the following as soon as it reaches the "Convert".
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.
I am looking online for solution for days but no luck.