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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - COM Class factory failed AX version
  FAQ FAQ  Forum Search   Register Register  Login Login

COM Class factory failed AX version

 Post Reply Post Reply
Author
Message
softwaredev View Drop Down
Beginner
Beginner


Joined: 01 Sep 09
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote softwaredev Quote  Post ReplyReply Direct Link To This Post Topic: COM Class factory failed AX version
    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.

Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 11 at 7:56PM
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.
Back to Top
softwaredev View Drop Down
Beginner
Beginner


Joined: 01 Sep 09
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote softwaredev Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 11 at 8:38PM

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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store