Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
COM Class factory failed AX version |
Post Reply ![]() |
Author | |
softwaredev ![]() Beginner ![]() Joined: 01 Sep 09 Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() Posted: 15 Sep 11 at 7:30PM |
Hello, Using QuickPDFAX0715.dll, have registered it with the standard (self-register command). regsvr32 <folder-path>\QUICKPDFAX0715.dll. Get a success saying it was registered fine. I am using an administrator command prompt. This is on a Windows Server 2008 box. We are using VB.NET to interface with the QuickPDF. It fails with the error above on the very first line of AX invocation. Dim QP As New QuickPDFAX0715.PDFLibrary Error message Retrieving the COM class factory for component with \CLSID {5208D6D2-F132-4861-8E67-7BB544F9A71E} failed due to the following error: 80040154. What am I missing? Bit confused even after registering the AX it is telling me its not registered. Please help. |
|
![]() |
|
Rowan ![]() Moderator Group ![]() ![]() Joined: 10 Jan 09 Status: Offline Points: 398 |
![]() ![]() ![]() ![]() ![]() |
Have you previously been using a different version of the library in this project? This error message is usually due to an old reference to the ActiveX still being in the project settings.
Try deleting the Interop.QuicPDF, etc files from the bin or release folders and remove any references to Quick PDF Library from the project settings and then add the reference again and try compiling.
|
|
![]() |
|
softwaredev ![]() Beginner ![]() Joined: 01 Sep 09 Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
There were no old version references of any other quick pdf products in the project. So I removed the reference to the existing AX component and redid it. Redeployed but now got different error .... System.BadFormatImageException. As per google search this happens if .NET exes are compiled to target 'Any CPU'. Changed the target to 'x86' and it works fine now. Thanks
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store