Print Page | Close Window

License error

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1712
Printed Date: 27 Sep 24 at 5:18PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: License error
Posted By: redhead
Subject: License error
Date Posted: 19 Jan 11 at 7:07AM

Hello. I use in project QiuckPDF dll v.7.17

I'm working with an old project.
On my developer computer this program is work fine,without any problem. But on other computer I have this error:

1 14 17.01.2011 09:23:06.199362000 error StackTrace : at QuickPDFAX0717.PDFLibrary.UnlockKey(String LicenseKey) in D:\Project\QuickPDFAX0717.cs:line 4071 0x00001528 0x00000000720D0000 LogSys.Client.NET35.dll

C:\Windows\assembly\GAC_32\LogSys.Client.NET35\3.5.0.0__7c141aa4c4a60dc4 154624 17.01.2011 09.22.53.728349 Project.exe 0x00000d00  
1 15 17.01.2011 09:23:06.199367000 error at Project.PDFDocument.ReadPDF() in D:\Project\PDFDocument.cs:line 387 0x00001528 0x00000000720D0000 LogSys.Client.NET35.dll

C:\Windows\assembly\GAC_32\LogSys.Client.NET35\3.5.0.0__7c141aa4c4a60dc4 154624 17.01.2011 09.22.53.728349 Project.exe 0x00000d00

In what may be the reason? Thanks in advance.




Replies:
Posted By: Rowan
Date Posted: 19 Jan 11 at 10:16AM
That's not an error message that I'm familiar with.

Can you check to make sure that the client machine has the right version of .NET installed? Can you also check to make sure that the QuickPDFAX0717.dll has been successfully registered on this machine?


Posted By: redhead
Date Posted: 19 Jan 11 at 11:25AM
I'm not sure NET installed or not. But I think that the program can't return true on funсtion : unlockkey. I think It returns "0".
How I can resolved it? May be I must update *dll QuickPDF on new version or new license key?
Have you any idea?



Posted By: Rowan
Date Posted: 19 Jan 11 at 11:33AM
But the application appears to be written in C# .NET so you need to know if .NET is installed and it needs to be version 3.5 of .NET since that's the version that your application appears to be compiled with.

> But I think that the program can't return 
> true on funсtion : unlockkey. I think It 
> returns "0".

When does the error message that you originally posted occur? Did you have time to check the return value of the UnlockKey prior to the error message?


Posted By: redhead
Date Posted: 19 Jan 11 at 11:55AM

I have tested It program on computer which have .NET and I have such error. 

Error occurs when there is a function call - UnlockKey.

This is error window - http://a.imagehost.org/0051/Error.jpg - 

And this is error line:

PDF Document.cs - 395 - int res = qp.UnlockKey(qpKey);

QuickPDFAX0717.cs - 4071  -

public int UnlockKey(string LicenseKey)
  { ........... }

I tried to keep track of what value the function returns, but does not work. In normal operation, it returns 1. I can see it in logs. But on other machines that have no relation to the draft error. 






Posted By: Rowan
Date Posted: 19 Jan 11 at 12:04PM
OK, can you please:

1. Upgrade to 7.23 (the 7.17 license key will work for the new version):

http://www.quickpdflibrary.com/products/quickpdf/updates.php - http://www.quickpdflibrary.com/products/quickpdf/updates.php

2. Make sure that the ActiveX is registered.

http://www.quickpdflibrary.com/help/getting-started-activex.php - http://www.quickpdflibrary.com/help/getting-started-activex.php

I'm fairly confident this isn't an issue with the library, but rather some sort of configuration issue on your end. Perhaps you can confirm if you are using the DLL edition or the ActiveX edition? The DLL edition filename is "QuickPDFDLL0723.dll" and the ActiveX edition filename is "QuickPDFAX0723.dll".


Posted By: redhead
Date Posted: 19 Jan 11 at 12:35PM
 
Originally posted by Rowan Rowan wrote:


I'm fairly confident this isn't an issue with the library, but rather some sort of configuration issue on your end. Perhaps you can confirm if you are using the DLL edition or the ActiveX edition? The DLL edition filename is "QuickPDFDLL0723.dll" and the ActiveX edition filename is "QuickPDFAX0723.dll".

Based on the file name I am using ActiveX dll - QuickPDFAX0717.dll
Could you explain the difference between them?
Thanks in advance.



Posted By: Ingo
Date Posted: 19 Jan 11 at 9:00PM
The difference is
"Normal" dll-version and activex-version.

Cheers, Ingo


Posted By: redhead
Date Posted: 20 Jan 11 at 6:10AM

Problem solved by registering ActiveX component in the system. 

Rowan

Thank you for help



Posted By: Rowan
Date Posted: 21 Jan 11 at 11:00AM
I'm glad to hear that the issue has been resolved. Thanks for letting us know.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk