Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert rtf to pdf #67

Open
PatrickMercadal opened this issue Aug 20, 2020 · 0 comments
Open

Convert rtf to pdf #67

PatrickMercadal opened this issue Aug 20, 2020 · 0 comments

Comments

@PatrickMercadal
Copy link

Hi everybody,

I have issue to convert rtf file to pdf. I wrote a small file batch with this command inside "OfficeToPDF.exe C:\wamp64\www\Sales\Word\Temp\OPTIONS.rtf C:\wamp64\www\Sales\Word\Temp\OPTIONS.pdf".
When I start this command I have following error :

La récupération de la fabrique de classes COM pour le composant avec le CLSID {000209FF-0000-0000-C000-000000000046} a échoué en raison de l'erreur suivante: 80070520 Une ouverture de session spécifée n'existe pas. Elle est peut-être déjà terminée. (Exception de HRESULT : 0x80070520).
Did not convert
Translation:
The retrieval of the COM class factory for the component with the CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070520 A specified open ession does not exist. It may already be over. (Exception from HRESULT: 0x80070520).
Did not convert

I try to modify access right by specifying the local Administrator in the composant service DCOM (dcomcnfg) with good rights (for me) in Microsoft Word 97 - 2003 Document. I add local Administrator in security tab and I specified in identity tab the local Administrator with his password but it doesn't works.

When I flag "executing user" instead of "this user" the command work perfectly.
I must clarify that my idea is to start this command in a php file. So command work when I start it alone but it does'nt works when it started into my php file with the message above

Have you got already this issue and what's the solution to fix it ?

Best regards,
Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant