Page 1 of 1

NovaPDF SDK Error 0xD5DA0018

Posted: Tue Jul 24, 2012 1:38 pm
by jryan618
Hey NovaPDF Team,

I'm currently testing out the NovaPDF Sdk converter in C# for the purposes of automated document conversion. I'm trying to run the simple Hello, World C# example, except that the program fails with COM exception 0xD5DA0018 on the line:

"pNova.Initialize(PRINTER_NAME, "", "", "");"

Do you know what might be causing this? There doesn't seem to be any relevant information in the COM exception. I have uninstalled and reinstalled the application to no effect.

Thanks for the help,
Kevin

Re: NovaPDF SDK Error 0xD5DA0018

Posted: Wed Jul 25, 2012 8:21 am
by Claudiu (Softland)
Here is the desription of this error (you may find errors listed in Globals.cs):
// MessageId: NV_INVALID_PRINTER_NAME
// MessageText: cannot find printer with given printer name
public static long NV_INVALID_PRINTER_NAME = 0xD5DA0018;

Check the name of the printer you pass to the Initialize method and check if the printer exists in the Control Panel printers list.
If you reinstalled novaPDF several times and you did not restart the computer when asked by setup, there might happen the printer is not correctly installed. In this case, uninstall novaPDF, restart computer, and then install it again.