Benoit Duchaine
Guest
|
Hi.
I use to be able to have my DLL to run on my client's computer with Outlook. at first, when I created the setup project, it was set to "Register for All Users". For some reasons, I was only able to make it work by manually registering the DLL with adxregistrator.exe using the console in administration mode.
So I decided to recreate a setup project and I changed my File" and Assembly version along with the Setup version.
I uninstalled my previous version on my client's computer and since then, I am unable to have my COM Addin to register properly, I get the following error (amongst others) :
Add-in Express Registrator Log File: 06/21/2017 16:36:27
Installation directory: C:Program Files (x86)PDFStamperNET
Registrator version: 7.7.4087.0
Operating System: Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit
Process Owner: System
Command Line: "C:Program Files (x86)PDFStamperNETdxregistrator.exe" /install="PDFStamperNet.dll" /privileges=admin
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): On
--------------------------------------------------------------
16:36:27 0372 Starting the add-in registration process.
16:36:27 0372 Loading mscoree.dll
16:36:27 0372 Success.
16:36:27 0372 .NET Framework installation directory:
...
16:36:27 0372 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
16:36:27 0372 Success.
16:36:27 0372 Calling the managed registration procedure (DISPID = 1610743823).
16:36:27 0372 Managed Error:
(Inner Exception)
(Inner Exception)
Date and Time: 21/06/2017 4:36:27 PM
Machine Name: TEST3
IP Address: fe80::fde4:f363:7dcc:ee66%11
Current User: NT AUTHORITYSYSTEM
Application Domain: C:Program Files (x86)PDFStamperNET
Assembly Codebase: file:///C:/Program Files (x86)/PDFStamperNET/PDFStamperNet.DLL
Assembly Full Name: PDFStamperNet, Version=1.0.5.0, Culture=neutral, PublicKeyToken=59e427acc06aa326
Assembly Version: 1.0.5.0
Exception Source: PDFStamperNet
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: Retrieving the COM class factory for component with CLSID {EDE601A4-FFD6-4B99-BDB6-CB6C60B03BFD} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Exception Target Site: .ctor
---- Stack Trace ----
PDFStamperNet.MailEvents..ctor(ADXModule As ADXAddinModule)
PDFStamperNet.DLL: N 0052 (0x34) IL
PDFStamperNet.AddinModule..ctor()
PDFStamperNet.DLL: N 0091 (0x5B) IL
(Outer Exception)
Date and Time: 21/06/2017 4:36:27 PM
Machine Name: TEST3
IP Address: fe80::fde4:f363:7dcc:ee66%11
Current User: NT AUTHORITYSYSTEM
Application Domain: C:Program Files (x86)PDFStamperNET
Assembly Codebase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Assembly Full Name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version: 4.0.0.0
Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: CreateInstance
...
Thanks in advance! |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Benoit,
The call stack shows that the issue occurs when your code creates some COM object, CLSID of which is {EDE601A4-FFD6-4B99-BDB6-CB6C60B03BFD}. The registry on my PC doesn't have that COM class. Google says this COM class is created by Gnostice PDFtoolkit ActiveX. I suggest that you repair or even reinstall it.
As to creating a setup project, make sure that you follow steps listed in section Deploying a per-machine Office extension via an MSI installer, see the PDF file in the folder {Add-in Express}\Docs on your development PC.
Benoit Duchaine writes:
I get the following error (amongst others)
Other errors?
Andrei Smolin
Add-in Express Team Leader |
|
Benoit Duchaine
Guest
|
Thank you for the pointers, I will check why the PDFtookit is not registered anymore.
And yes, I followed the guide, it seems like the problem is on my part, and not your guide.
Thank you. |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
You are welcome!
Andrei Smolin
Add-in Express Team Leader |
|