NovaPDF SDK Error 0xD5DA0018
NovaPDF SDK Error 0xD5DA0018
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
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
-
- Posts: 284
- Joined: Wed Dec 16, 2009 12:46 pm
Re: NovaPDF SDK Error 0xD5DA0018
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.
// 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.
Follow us to stay updated:
- Newsletter (get a discount for subscribing): https://www.novapdf.com/newsletter.html
- Facebook: https://www.facebook.com/novapdf
- Twitter: https://twitter.com/novapdf
- Linkedin: https://www.linkedin.com/showcase/novapdf