Questions tagged [word-automation-service]
9 questions
5
votes
2 answers
Word Automation Service BatchGetSyncJobStatus fails when requesting security token
I'm running a SharePoint 2013 on-premise server on which I have deployed a simple WCF service as a farm solution. The service accepts simple Http post requests that contain single MS Word documents as payload and returns these files converted into…

Arthur Kasperski
- 53
- 5
4
votes
1 answer
Word Automation Service breaks links in table of contents
I have written a code which utilizes Word Automation Service in order to convert the .DOCX file to the .PDF. I have noticed that in case the Word document contains a table of contents, its links are removed in the PDF. This is very bad for my…

Boris
- 9,986
- 34
- 110
- 147
1
vote
1 answer
Table text gets extra spacing after running through word automation services
I'm generating a document from a bunch of template documents and in addition I'm adding some tables as html altChunks (because it's a lot easier than trying to create a table with OpenXML). This all worked fine and gave me the result I wanted. But,…

Matt Burland
- 44,552
- 18
- 99
- 171
1
vote
2 answers
Identify process id of word instance using System.Diagnostics.Process object
I have code which starts Word application instance as follows
Microsoft.Office.Interop.Word.Application app = new Microsoft.Office.Interop.Word.Application();
app.Caption = "abcd_" + DateTime.Now.Ticks.ToString();
I now need to know process id of…

Onkar
- 96
- 3
- 9
0
votes
1 answer
Accessing Word Automation Services using pnpjs
We are investigating using SharePoint, SP, Word Automation Services, WAS, on demand to render Table of Contents, ToCs in word documents we are generating, prior to sending them to a third party vendor. Avoiding the need to open the Word Document to…

Gregory Blajian
- 21
- 3
0
votes
0 answers
Word automation service issues
I have issue with word Automation service. Permissions on DB which is hosted on SQL server are ok. There are no timeouts and errors on DB, verbose shows only this kind of log:
Database 'WordAutomation_01_SADB01':
Connecting with connection string…
0
votes
0 answers
Control rendering of PDF
Using Word Automation Services, I have some very simple code like this:
SyncConverter sync = new SyncConverter(wordAutomationServiceName);
sync.Settings.OutputFormat = input.Format;
sync.Settings.UpdateFields = true;
ConversionItemInfo convInfo =…

Matt Burland
- 44,552
- 18
- 99
- 171
0
votes
3 answers
Exception when trying to run Word Automation Services in SharePoint 2013
I try to convert a docx-file to pdf by using the following simple Code:
ConversionJobSettings jobSettings = new ConversionJobSettings();
jobSettings.OutputFormat = SaveFormat.PDF;
ConversionJob job = new ConversionJob("Word Automation Services",…

Ole Albers
- 8,715
- 10
- 73
- 166
0
votes
1 answer
Word Automation Services - job failed with error 131172
We are facing a problem with Word Automation Services in Sharepoint 2010. We have a workflow, which queues a conversion job (docx to pdf). In our dev environment, everything works well, but in production, a strange error occurs. No error shown…

Jan Novák
- 574
- 3
- 21