Print Page | Close Window

Cannot Deploy Application

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=3385
Printed Date: 28 Apr 24 at 6:21PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Cannot Deploy Application
Posted By: Dragineez
Subject: Cannot Deploy Application
Date 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)).



Replies:
Posted By: Dragineez
Date 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");



Posted By: mLipok
Date 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


Posted By: Dragineez
Date 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?


Posted By: mLipok
Date 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


Posted By: Dragineez
Date 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.



Posted By: mLipok
Date 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


Posted By: Dragineez
Date 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!


Posted By: mLipok
Date 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



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