Why does Office to PDF conversion hang when running conversion as a service?

56 views
Skip to first unread message

Aaron

unread,
Dec 18, 2014, 7:07:19 PM12/18/14
to pdfne...@googlegroups.com
Q:

I'm trying to convert from Office files to PDF files using PDFNet's Convert Add-On (https://www.pdftron.com/pdfnet/samplecode.html#Convert).  This runs fine at the command-line, but when I run the same code in a Windows service, it hangs at Convert.ToPDF().  I've followed the instructions in http://www.pdftron.com/pdfnet/faq_files/Converting_Documents_in_Windows_Service_or_ASP.NET_Application_using_PDFNet.pdf, but that didn't help.  

I'm running an evaluation version of Office, not a licensed version.

Any advice?

----

A:

In this case, upgrading to the licensed version of Office may solve the problem.  (It's unclear why the licensed version works correctly when the unlicensed version does not, or whether this will always solve the problem.)

Note, when you activate a 365 subscription, it only activates on the current user profile.


Reply all
Reply to author
Forward
0 new messages