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 - Cannot Deploy Application
  FAQ FAQ  Forum Search   Register Register  Login Login

Cannot Deploy Application

 Post Reply Post Reply
Author
Message
Dragineez View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 16
Location: DC
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dragineez Quote  Post ReplyReply Direct Link To This Post Topic: Cannot Deploy Application
    Posted: 07 Sep 16 at 3:16PM
Runs fine on my machine, but when anyone else tries to run it - it fails. Debug returns:

Retrieving the COM class factory for component with CLSID {5D4196E9-0A7D-48DC-BD2C-7CD3FE771B38} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Back to Top
Dragineez View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 16
Location: DC
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dragineez Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 16 at 3:32PM
BTW: Using DebenuPDFLibraryAX1015.PDFLibrary

DebenuPDFLibraryAX1015.PDFLibrary qpdf = new DebenuPDFLibraryAX1015.PDFLibrary();
            // Unlock the pdf library
            qpdf.UnlockKey("MyKey");
            if (qpdf.Unlocked() == 0)
                MessageBox.Show("License unlock failed. Please update your key in the source code");

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 16 at 4:37PM
Originally posted by Dragineez Dragineez wrote:

Runs fine on my machine, but when anyone else tries to run it - it fails. Debug returns:

Retrieving the COM class factory for component with CLSID {5D4196E9-0A7D-48DC-BD2C-7CD3FE771B38} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Did you register COM object with regsvr32.exe ?
Or do you use any Registrationfree COM methods  in your code ?
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Dragineez View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 16
Location: DC
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dragineez Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 16 at 6:55PM
In my environment, my end users can't install anything. I thought I could just deploy the AX DLL with the app and run it without having to register the dll on each machine. Is that incorrect?
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 16 at 7:00PM
No.

Read this:
http://www.debenu.com/kb/registration-free-com-activex-dll-activex-control/
https://msdn.microsoft.com/en-us/library/ms973913.aspx
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Dragineez View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 16
Location: DC
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dragineez Quote  Post ReplyReply Direct Link To This Post Posted: 09 Sep 16 at 2:29PM
Thanks, that's enormously helpful. But now in Visual Studio I'm getting the warning:

Problem isolating COM reference 'DebenuPDFLibraryAX1015': Registry key 'HKEY_CLASSES_ROOT\CLSID\{5d4196e9-0a7d-48dc-bd2c-7cd3fe771b38}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}' was not imported.

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 09 Sep 16 at 2:33PM
I can not help you with Visual Studio IDE as I'm using different dev env >> AutoIt.

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Dragineez View Drop Down
Beginner
Beginner
Avatar

Joined: 07 Sep 16
Location: DC
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dragineez Quote  Post ReplyReply Direct Link To This Post Posted: 14 Sep 16 at 6:01PM
Thanx Lipok, you got me pointed in the right direction. It was build settings, as your msdn link pointed out. So it is possible to build and release without having to register COM components. Thanks again!
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 17 Sep 16 at 12:02AM
I am glad that you were able to solve your problem.
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
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