Use VeryPDFComRunCmd.exe to run doc2any.exe or configure MS Office (Word, Excel, PowerPoint) DCOM run inside an interactive user account

Hi,

I have purchase doc2any command line converter (end user license). it seems to be not working. I am using it from windows services. Can you please help me out?

Thanks,
Customer
-------------------------------------------------------
Thanks for your message, you can use VeryPDFComRunCmd.exe to run doc2any.exe from a Windows Service, please look at following web pages for more information,

https://www.verydoc.com/blog/verydoc-release-notes-verydoc-releases-an-exe-com-of-verypdfcomruncmd-exe-today-verypdf-exe-com-does-allow-you-to-call-ms-office-and-any-exe-application-from-asp-php-c-net-etc-program-languag.html

Please arrange "VeryPDFCom.RunCmd" COM run inside an interactive user account, you will get it work from service properly.

You may also look at following web pages for more information,

https://www.verydoc.com/blog/how-to-call-doc2any-exe-from-php-source-code.html
http://www.verypdf.com/wordpress/201410/how-to-convert-word-documents-to-pdf-files-from-asp-source-code-41022.html

VeryDOC
-------------------------------------------------------
Will doc2any server license overcome this problem? or still i need to install doc2anyruncommand com component?

please advise asap.

Customer
-------------------------------------------------------
Is this installation is necessary? this needs to update my code as well. can't this possible using command line directly I am using now? if its working directly using command line it would be better for me to use.

Its working with demo version i downloaded when i was researching doc2any command line software and i test this again with trial version of doc2any command line its working fine. why i need to install com component?

Customer
-------------------------------------------------------
>Will doc2any server license overcome this problem? or still i need to install doc2anyruncommand com component?

Yes, you need purchase the Server License, the End User License is just for end customers who will use the software on their personal computers.

Yes, you need install VeryPDFComRunCmd.exe COM Component.

>>Is this installation is necessary? this needs to update my code as well. can't this possible using command line directly i am using now? if its working directly using command line it would be better for me to use.

No, you can't call the Command Line directly, because MS Office can't be run inside SYSTEM user account, you need use VeryPDFComRunCmd.exe COM Component to switch from SYSTEM user account to an interactive user account.

>>Its working with demo version i downloaded when i was researching doc2any command line software and i test this again with trial version of doc2any command line its working fine. why i need to install com component?

The com component is used to switch from SYSTEM user account to an interactive user account, this way will overcome the limitation of MS Office. However, if you can get Command Line works directly, you can also keep your work continue, so please don't worry about this matter.

VeryDOC
-------------------------------------------------------
My command line works directly on trial version and it's not working on register version of doc2any command line (end user license), why?

If I install VeryPDFComRunCmd.exe, will this change my code? Currently I am invoking doc2any.exe using "process.start()". Will the same work for COM component?

Thanks,
Customer
-------------------------------------------------------
If you will use VeryPDFComRunCmd.exe, you will need to change your source code, you need to call a COM instead of an EXE file, please refer to a simple ASP code at below,

<%

set VeryPDFCom = Server.CreateObject("VeryPDFCom.RunCmd")
dim nRetVal, bRet
bRet = VeryPDFCom.RunCmd("C:\windows\notepad.exe", 5, 0)
strRet = VeryPDFCom.RunCmd2("cmd /c dir C:\", 5)
Response.Write strRet & vbCrlf

%>

However, if you don't want to change your current source code, you can set MS Word DCOM run inside an interactive user account, please look at following web pages for more information,

https://www.verydoc.com/doc-to-any-faq.html
https://www.verydoc.com/blog/how-to-make-iis7-play-nice-with-office-interop.html
https://www.verydoc.com/blog/microsoft-excel-application-entry-missing-in-dcomcnfg.html
https://www.verydoc.com/others/configure%20office%20applications%20to%20run%20under%20the%20interactive%20user%20account.htm
https://www.verydoc.com/others/configure-word-and-excel.htm

after you configure MS Word DCOM run inside an interactive user account, e.g., Administrator user account, you can use "process.start()" to run doc2any.exe from a service properly.

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!