Forum


Replies: 1   Views: 6100
Com object `word.application': server execution failed
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 12-03-2017 - 12:42

Hello,

That error code is a generic error due to some missing permission or access. We recommend you to try the included example (please note we use '\\' and '\\\\' to set the path of the folders):

http://www.phpdocx.com/api-documentation/format-conversion/transform-docx-into-pdf-using-ms-word

and the most simple sample available for PHP COM on:

http://php.net/manual/en/class.com.php

using PHP CLI mode to find where the error comes from. And then run it using a web browser.

Also please check this information about solving that generic error:

http://www.phpbuilder.com/columns/venkatesan20030501.php3

https://bytes.com/topic/php/answers/843960-php-com-ms-word-application

http://www.figured-it-out.com/figured-out.php?sid=24

Regards.