SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to convert a DOCX file into a PDF file using a workflow in Sharepoint 2010 using Word Automation Services.

Here is what I use in my workflow :

ConversionJobSettings jobSettings = new ConversionJobSettings();
jobSettings.OutputFormat = SaveFormat.PDF;

ConversionJob pdfConversion = new ConversionJob("Word Automation Services",         jobSettings);

pdfConversion.UserToken = workflowProperties.Web.CurrentUser.UserToken;

string wordFile = workflowProperties.WebUrl + "/" + workflowProperties.Item.Url;
string pdfFile = wordFile.Replace(".docx", ".pdf");

pdfConversion.AddFile(wordFile, pdfFile);


But no PDF is ever created. The workflow is defined as "Completed", but I saw nothing else. I checked the state of the Workflow Automation Services in the Central Administration and everything looks good and the service is started. The Word file is in a document library and I want to create the PDF file in the same folder as the Word file.

Does someone know what to do in order to convert Word to PDF ?

share|improve this question
I have the same issue, did you find a solution? – user10749 Sep 16 '12 at 23:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.