Running PDF Converter from NT Service

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Celso
Posts: 3
Joined: Wed Jan 15 2003

Running PDF Converter from NT Service

Post by Celso »

We are running the PDF Converter from a VB code run by an NT service.
The application stop when we create the object:

"...Dim PDFPrinter As New CDIntf.CDIntf ..."

Are there any considerations to use the PDF Converter under an NT Service? :wink:

Thanks,

Celso
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Did you register CDintf on the system using Regsvr32?

Did you add a reference to CDintf to your VB application?

If the answer to the above two questions is yes than please tell us which version of the PDF Converter you are using.
Celso
Posts: 3
Joined: Wed Jan 15 2003

Post by Celso »

Hi Joan

Thank you for your prompt reply.

Answers: both yes.
We are using Version 1.59.

Kind Regards,

Celso
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Please try our latest version 2.08. You can download it from http://www.amyuni.com/en/products/pdf_c ... /demo.html

Note: I am assuming that you have the right to create objects on the NT system.
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hi,

Microsft provides a knowledge base article that explains what is needed to have Applications run from a NT Service.

http://support.microsoft.com/default.as ... s%3B152451

Thanks
Celso
Posts: 3
Joined: Wed Jan 15 2003

Post by Celso »

Hi thank you for your precious feedback.

We already checked Technet's Q152451 article. We tested using both the System Account as well as an User account with administrative privileges.

We checked all items of Q152451 (copied a lot of printer config entries to the Default User hive) to have the service work with the System account - the problem persisted. When using an "admin" account, we logged interactively as the admin account to check that the Amyuni printer is present (it is, as it is installed locally) - the problem persists. Note that the error always occurs when executing the "...Dim PDFPrinter As New CDIntf.CDIntf ..." code in VB.

Our license supports only V 2.05. As we tested V 2.05 in both situtations mentioned before, and the system errors out in the "... Dim.. " line. Is this a know problem fixed by 2.08? Do you happen to have an example of code running as a Win32 service?

Again thanks for the patience!

Kind Regards,

Celso
Post Reply