doc2any fails converting ppt or pptx

Having problems converting ppt or pptx with doc2any. Word and Excel convert fine. We have seen this behavior a number of times now with different installs.

Windows 2008 R2, Office Standard 2010 32bit. Running as .\Administrator

doc2any.exe -$ XXXXXXXXXXXXXXXX -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

Check license information...
Thank you for choosing our product.
Check utility functions...
Start the conversion...
c:\temp\test.pptx ==> c:\temp\test.pdf
Convert PowerPoint document to other formats...
Loading "c:\temp\test.pptx" file...[20%]
Shutdown PowerPoint Application...[60%]
[FAILED] Failed by SaveAs function in MS PowerPoint application.
Prepare to convert "c:\temp\test.pptx" file...[10%]
POWERPNT.EXE (PID to terminate: 1676)
Exit code for POWERPNT.EXE: 259
Process: 259, was successful terminated.
Loading "c:\temp\test.pptx" file...[20%]
Shutdown PowerPoint Application...[60%]
[FAILED] Can't locate EMF files.
[FAILED] Failed by Render to Metafile function in MS PowerPoint application.
Convert OpenOffice Documents to other formats by OpenOffice:
'c:\temp\test.pptx'=>'c:\temp\test.pdf'
[FAILED] Can't retrieve OpenOffice information from registry.
[FAILED] OpenOffice does convert this PowerPoint document failed.
Try convert document continue (1)...
Try convert document continue (2)...
Conversion time = 657ms
c:\temp\test.pptx ==> c:\temp\test.pdf, result=ERROR
TickCount = 657ms(0.66s), Result = 0
POWERPNT.EXE (PID to terminate: 1576)
Exit code for POWERPNT.EXE: 259
Process: 259, was successful terminated.
======================================
We apologize for any inconvenience this may have caused to you, just for checking, please open this PPTX file in MS PowerPoint application, save it to a PDF file by manual, can you work fine by this method?

Also, what version of MS PowerPoint application installed in your system? Is it MS PowerPoint 2010 or MS PowerPoint 2007+PDF&XPS SaveAs addon?

VeryDOC
======================================
Yes, we can save as pdf manually from within Powerpoint. And it's Powerpoint 2010.
=================================
Can you please email to me the sample PPTX file that you are using? After I received your PPTX file, I will test it in my system asap.

VeryDOC
=================================
Of course. Attached.
=================================
I have tried to convert your PPTX document in my system just now, I can convert it to PDF file without any problem, please look at following log message and attached PDF file,
~~~~~~~~~~~~~~~~~~~~
C:\>doc2any.exe -debug D:\temp\ewrerwerweqr.pptx
D:\temp\ewrerwerweqr.pptx.pdf Check license information...
You have 96 time to evaluate this product, you may purchase a full version from http://www.verypdf.com.
Check utility functions...
Start the conversion...
D:\temp\ewrerwerweqr.pptx ==>   D:\temp\ewrerwerweqr.pptx.pdf
Convert PowerPoint document to other formats...
Loading "D:\temp\ewrerwerweqr.pptx" file...[20%] Export file(s)...
[50%] Shutdown PowerPoint Application...[60%]
Try convert document continue (1)...
Try convert document continue (2)...
Conversion time = 4368ms
D:\temp\ewrerwerweqr.pptx ==> D:\temp\ewrerwerweqr.pptx.pdf,
result=OK TickCount = 5008ms(5.01s), Result = 1
~~~~~~~~~~~~~~~~~~~~

I'm using MS PowerPoint 2010 application.

Also, is it possible for you to reinstall MS PowerPoint 2010 to try again? I don't know if something is wrong in your MS PowerPoint 2010, it is great if you can reinstall MS PowerPoint 2010 to try again.

VeryDOC
=================================
We have seen this now with multiple customers. On the server in our lab it converts too, but not reliably.

You didn't run the exact same command we did:

doc2any.exe -$ XXXXXXXXXXXXX -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

Notice how we have -killoffice 1 in there to make sure that Office processes don't build up.

Please try again.
=================================
Did you convert more PPTX documents to PDF files at one time? MS PowerPoint application doesn't support concurrent conversion, so you can only convert more PPTX document to PDF file at one time, please notice this matter.

Also, just for checking, can you convert your PPTX file to PDF file correctly by "-useprinter" parameter?

doc2any.exe -$ XXXXXXXXXXXXXXX -useprinter -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

If you still have same problem, please share your system by teamviewer, I will login your system to research this problem asap.

VeryPDF
=================================
Using -useprinter does not produce good looking output, so not an option. There is only 1 process running at a time.

I will ask if we can go on remote. Will be difficult to arrange, as we sell our software to distributor, who sells to reseller, who sells to customer, so we're not talking with customer directly.
=================================
Thanks for your message, I understand your concern.

Also, I guess -useprinter parameter doesn't work at all, because -useprinter parameter need to load the PPT and PPTX documents too, from the log message, it is indicate MS PowerPoint OLE program interface can not open the PPT and PPTX documents at all, so I think -useprinter parameter will fail to open the PPT and PPTX files too.

MS Office 2010 does add a "File Block" function, I don't know if this setting block you to open the PPT and PPTX documents, you may view or modify File Block settings in the Trust Center, please refer to following web page for more information,

http://office.microsoft.com/en-us/powerpoint-help/what-is-file-block-HA010355927.aspx

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)

Related Posts

6 Replies to “doc2any fails converting ppt or pptx

  1. We also have having this problem. We’ve seen this with older doc2any and with the latest doc2any as well. We cannot use the -useprinter switch because it seems to rasterize the output at a predefined page size/resolution. The -useprinter switch only really seems to work if the page size and layout is fixed to something that doc2any wants… it doesn’t work well especially if you don’t know the PPT page layout ahead of time.

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  2. Also, the same behavior can be produced if the last editor marks the PPT document as “final” – loading the file manually in PPT would show this message:

    “Marked as Final An author has marked this presentation as final to discourage editing.” There is a button to “Edit Anyway” but doc2any can’t “see” that button. The resulting output of doc2any notes that “Invalid request. Presentation cannot be modified” … and thus later EMF file cannot be found. From what I understand, the EMF files are the intermediate output files used to assemble into the final PDF file. Since the file could not be re-saved (marked as final) the EMF files don’t get created and thus can’t be located later.

    I haven’t yet found a way around this… still looking. So far I’ve only found a way to do this via the PPT application itself on a per-document basis.

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  3. FYI – In (file explorer) file Properties -> Details the “Content status” is set to “Final” – but removing that or changing its value doesn’t have any impact on how PPT processes the file.

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  4. I think we’ll need VeryDoc to programmatically modify the setting to be able to override the “Mark as Final”.

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  5. FWIW: I’ve been able to work around the “Mark as Final” problem with some VB script to open the presentation, set the “Final” property to False and re-save the document.

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply to tmart Cancel reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!