Hi,
I am working on an java customization application. The java application retrieves a file from the database, saves it to a folder on the server, and then attempts to run the doc2any process. However, when running the process I get an error that Excel cannot access the file.
While I could use the runasservice option, that doesn't give me any way to verify the successful creation of the PDF file.
Do you have any suggestions?
Thanks,
Customer
----------------------------------------------
You need set MS Word DCOM and MS Excel DCOM run inside an interactive user account, please refer to following web pages for more information,
http://www.verypdf.com/wordpress/201109/doc2any-sdk-dll-does-work-on-localhost-but-not-work-on-internet-2333.html
https://www.verydoc.com/blog/how-to-call-doc2any-exe-from-asp-code.html
https://www.verydoc.com/blog/running-doc2any-as-a-scheduled-task.html
https://www.verydoc.com/others/configure-word-and-excel.htm
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-c-or-vb-net-source-code.html
https://www.verydoc.com/blog/cannot-test-doc2any-on-net.html
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-java-application-to-convert-pptx-and-docx-files-to-pdf-files.html
https://www.verydoc.com/blog/run-doc2any-on-windows-2003-or-windows-2008-system.html
https://www.verydoc.com/blog/run-office-to-pdf-converter-or-doc2any-in-unattended-user-account.html
http://www.verypdf.com/wordpress/201106/doc2any-dcom-permissions-232.html
Please look at following web page for more information about how to give enough permission to MS Word DCOM or MS Excel DCOM service,
https://www.verydoc.com/doc-to-any-faq.html
If you still can't get it work, please feel free to let us know.