Forum


Replies: 6   Views: 1272
Conversion plugin based on ms word: transformdocument error ms word
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 dev-info  · 23-02-2021 - 11:24

ok i just found the solution, if it can be useful to other person:


Execute "dcomcnfg"
Open Component Services> Computers> My Computer> DCOM Config
Search for Microsoft Office Word 97-2003 Document (it will be something like this translated to your language, so take a while and search for it) <- Stuck at this one, can't find anything called "Microsoft Office ... "
Right-Click on it and open the properties
Choose "Identity" tab
Normally this is set to "the launching user". You have to change this to "the interactive user" or a admin user of your choice.
Apply these new settings and test your COM application. It should work fine now.

 

On my old computer, the office version was 2016, maybe this permission differs between the 2016 and 2019 version.


Thanks to the adim for following my problem


solution found on this topic:

https://stackoverflow.com/questions/12104775/cant-open-word-doc-with-com-in-php