Replies: 9   Views: 4818
Using conversion plugin to convert to pdf
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 jprateragg  · 11-04-2013 - 12:13

I made the necessary php.ini change and now I get this error:

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Access is denied. ' in C:\Inetpub\wwwroot\aganalysis\includes\phpdocx-pro-2.5\classes\ Stack trace: #0 C:\Inetpub\wwwroot\aganalysis\includes\phpdocx-pro-2.5\classes\ com->com('word.applicatio...') #1 C:\Inetpub\wwwroot\aganalysis\includes\phpdocx-pro-2.5\classes\ MSWordInterface->transformFormat('template_docx_t...', 'test.pdf') #2 C:\Inetpub\wwwroot\aganalysis\scrap2.php(24): CreateDocx->transformDocxUsingMSWord('template_docx_t...', 'test.pdf') #3 {main} thrown in C:\Inetpub\wwwroot\aganalysis\includes\phpdocx-pro-2.5\classes\ on line 54

This looks like a permissions issue. But what permissions do I give which user, and and on what directory? Thanks!