Getting only 50 % success rate while converting doc to .swf

Using Print2Flash Document API

Getting only 50 % success rate while converting doc to .swf

Postby lmedikonda » Tue Aug 30, 2016 4:58 am

Hi,
I'm using print2flash3 on Windows server 2012 to convert word to swf , have only 50 % success and every alternate one is failing.
Getting Before printing timeout error . Can you please let me know how to fix this issue.
My configuration on C# like this
Print2Flash3.Server2 obj = new Print2Flash3.Server2();
Print2Flash3.BatchProcessingOptions2 batchProcess = new BatchProcessingOptions2();
batchProcess.BeforePrintingTimeout = 30000;
batchProcess.AfterPrintingTimeout = 10000;
batchProcess.PrintingTimeout = 120000;
batchProcess.ActivityTimeout = 30000;
batchProcess.KillProcessIfTimeout = ThreeStateFlag.TSF_YES;
batchProcess.KillSplWOW64 = ThreeStateFlag.TSF_YES;
//batchProcess.UseAutomation = batchProcess.UseAutomation | 2 | 8;
batchProcess.UseAutomation = 8;
batchProcess.LoggingLevel = 1;
batchProcess.CreateLogFile = true;
batchProcess.LogFileName = @"C:\inetpub\wwwroot\TalentRover\Logs\p2f.log";
batchProcess.ApplyChanges();


Below are logs

8/30/2016 9:23:33 AM Batch job started
8/30/2016 9:23:33 AM Converting file C:\inetpub\wwwroot\TalentRover\resumes\Inbound\904be2dc-9162-430a-9d13-69ec619ca148.doc
8/30/2016 9:23:33 AM Using general processing method
8/30/2016 9:24:03 AM The file (C:\inetpub\wwwroot\TalentRover\resumes\Inbound\904be2dc-9162-430a-9d13-69ec619ca148.doc) could not be converted. EOleException : Before printing timeout expired
8/30/2016 9:24:03 AM Trying to kill the printing application (420) C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE
8/30/2016 9:24:03 AM Waiting....
8/30/2016 9:24:03 AM done.
8/30/2016 9:24:03 AM Workstation name Service-0x0-39efa93c$
8/30/2016 9:24:03 AM Batch job completed. 0 files converted, 1 errors
8/30/2016 9:24:22 AM Batch job started
8/30/2016 9:24:22 AM Converting file C:\inetpub\wwwroot\TalentRover\resumes\Inbound\b0a444ed-bac1-4692-a218-113db87799ed.doc
8/30/2016 9:24:22 AM Using general processing method
8/30/2016 9:24:25 AM Printing page 1
8/30/2016 9:24:35 AM After printing timeout expired
8/30/2016 9:24:35 AM Trying to kill the printing application (836) C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE
8/30/2016 9:24:35 AM Waiting....
8/30/2016 9:24:35 AM done.
8/30/2016 9:24:35 AM Process (7196) open
8/30/2016 9:24:35 AM Trying to kill the printing application (7196) C:\Windows\splwow64.exe
8/30/2016 9:24:35 AM Waiting....
8/30/2016 9:24:35 AM done.
8/30/2016 9:24:35 AM The file (C:\inetpub\wwwroot\TalentRover\resumes\Inbound\b0a444ed-bac1-4692-a218-113db87799ed.doc) has been converted.
8/30/2016 9:24:35 AM Batch job completed. 1 files converted, 0 errors
lmedikonda
 
Posts: 1
Joined: Tue Aug 30, 2016 1:21 am

Re: Getting only 50 % success rate while converting doc to .

Postby staff » Tue Aug 30, 2016 11:58 am

Try to turn on special processing method for MS Word:
Code: Select all
batchProcess.UseAutomation = 10;
staff
 
Posts: 281
Joined: Sat Dec 15, 2007 4:48 pm


Return to Document API

cron