|
Vladislav Safronov
Posts: 31
Joined: 2009-07-06
|
I have upgraded from version 6.2.3051.0 to version 6.3.3052.0.
I have also replaced adxloader.dll, adxloader64.dll with the new versions.
But now my plugin is listed under "disabled plugins" in Outlook.
As far as I can tell, there are no errors during setup, see log files below.
Are there any other places to look at?
It worked fine with v. 6.2.3051.0.
Environment: Windows 7 32 bit, Outlok 2007.
P.S.: seems I'm not able to copy/paste my log files here, somehow the forum engine does not accept them and reports red "Message Text" error.
|
|
Posted 03 Feb, 2011 08:24:36
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Vladislav,
Are you able to reproduce the issue with a newly created add-in project?
Anyway, please have a look at the http://www.add-in-express.com/docs/net-tips.php#disabled-items section in the online documentation.
P.S.: seems I'm not able to copy/paste my log files here, somehow the forum engine does not accept them and reports red "Message Text" error.
It looks like the log file is too huge to paste it here. Did you try to paste it in a separate forum post? |
|
Posted 03 Feb, 2011 12:07:10
|
|
Top
|
|
Vladislav Safronov
Posts: 31
Joined: 2009-07-06
|
Eugene, thank you.
I'll check your link shortly.
It seems I'm now able to paste my logs, so just in case, here it goes...
Add-in Express Registrator Log File: 02/03/2011 14:30:47
Installation directory: C:\Program Files\MYCOMPANY\myproduct\
Registrator version: 6.3.3052.0
Operating System: Microsoft Windows 7 Ultimate Edition (build 7600), 32-bit
Process Owner: System
Command Line: "C:\Program Files\MYCOMPANY\myproduct\adxregistrator.exe" /Install=mycore.dll /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): Off
--------------------------------------------------------------
14:30:47 Starting the add-in registration process.
14:30:47 Loading mscoree.dll
14:30:47 Success.
14:30:47 .NET Framework installation directory:
14:30:47 The latest version of .NET Framework: 'v4.0.30319'
14:30:47 Loading CLR: v4.0.30319.
14:30:47 Calling CLRCreateInstance method.
14:30:47 Success.
14:30:47 Calling GetRuntime method.
14:30:47 Success.
14:30:47 Calling GetInterface method.
14:30:47 Calling GetInterface method for the CorRuntimeHost interface.
14:30:47 Success.
14:30:47 Starting CLR...
14:30:47 Success.
14:30:47 The CLR v4.0.30319 has been initialized successfully.
14:30:47 Creating a new domain setup.
14:30:47 Success.
14:30:47 Getting the add-in directory.
14:30:47 Success. The directory is 'C:\Program Files\MYCOMPANY\myproduct\'
14:30:47 The 'shadow copy' is disabled.
14:30:47 Creating a new application domain.
14:30:47 Success.
14:30:47 Getting the base directory for the domain.
14:30:47 Success. The directory is 'C:\Program Files\MYCOMPANY\myproduct\'.
14:30:47 Searching for the Add-in Express core library.
14:30:47 Success. The 'AddinExpress.MSO.2005.dll' file is found.
14:30:47 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:30:47 Assembly identity is 'AddinExpress.MSO.2005'.
14:30:49 Success.
14:30:49 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:30:49 Success.
14:30:49 Calling the managed registration procedure.
14:30:50 556 Connecting to the application domain of the Add-in Express loader.
14:30:50 556 Success.
14:30:50 556 Loading the 'cim.mobility.core.dll' assembly.
14:30:50 556 Success.
14:30:50 556 Registering the 'cim.mobility.core.dll' assembly (user).
14:30:51 556 The ' cim.mobility.core.dll' assembly has been registered successfully.
14:30:51 Success.
14:30:51 The add-in registration process is completed with HRESULT = 0.
========================================================
Add-in Express Loader Log File: 02/03/2011 14:30:51
Startup directory: C:\Program Files\MyCompany\myproduct\
Loader version: 6.3.3052.0
Operating System: Microsoft Windows Vista Ultimate Edition (build 6000), 32-bit
Process Owner: System
Command Line: C:\Windows\system32\MsiExec.exe -Embedding E971E8A72705D43D42A0805474990075 M Global\MSI0000
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): Off
------------------------------------------------------------------------
14:30:51 492 4568 Starting the add-in registration process.
14:30:51 492 4568 Getting the latest CLR version.
14:30:51 492 4568 The latest CLR version is 'v4.0.30319'.
14:30:51 492 4568 Loading CLR: v4.0.30319.
14:30:51 492 4568 Calling CLRCreateInstance method.
14:30:51 492 4568 Success.
14:30:51 492 4568 Calling GetRuntime method.
14:30:51 492 4568 Success.
14:30:51 492 4568 Calling GetInterface method.
14:30:51 492 4568 Calling GetInterface method for the CorRuntimeHost interface.
14:30:51 492 4568 Success.
14:30:51 492 4568 Starting CLR...
14:30:51 492 4568 Success.
14:30:51 492 4568 The CLR v4.0.30319 has been initialized successfully.
14:30:51 492 4568 Creating a new domain setup.
14:30:51 492 4568 Success.
14:30:51 492 4568 Getting the add-in directory.
14:30:51 492 4568 Success. The directory is 'C:\Program Files\MyCompany\myproduct\'
14:30:51 492 4568 The configuration file is ''
14:30:51 492 4568 The 'shadow copy' is disabled.
14:30:51 492 4568 Creating a new application domain.
14:30:51 492 4568 Success.
14:30:51 492 4568 Getting the base directory for the domain.
14:30:51 492 4568 Success. The directory is 'C:\Program Files\MyCompany\myproduct\'.
14:30:51 492 4568 Searching for the Add-in Express core library.
14:30:51 492 4568 Success. The 'AddinExpress.MSO.2005.dll' file has been found.
14:30:51 492 4568 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
14:30:51 492 4568 Assembly identity is 'AddinExpress.MSO.2005'.
14:30:51 492 4568 Success.
14:30:51 492 4568 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
14:30:51 492 4568 Success.
14:30:51 492 4568 Creating an instance of the XML parser class.
14:30:51 492 4568 Success.
14:30:51 492 4568 Loading the manifest file (C:\Program Files\MyCompany\myproduct\adxloader.dll.manifest).
14:30:51 492 4568 Success.
14:30:51 492 4568 Getting the root element of the manifest (C:\Program Files\MyCompany\myproduct\adxloader.dll.manifest).
14:30:51 492 4568 Success.
14:30:51 492 4568 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files\MyCompany\myproduct\adxloader.dll.manifest).
14:30:51 492 4568 Success.
14:30:51 492 4568 Searching for the 'name' attribute of the 'assemblyIdentity' element.
14:30:51 492 4568 Success. The name is 'cim.mobility.core, PublicKeyToken=e1e2fa3d945fad6f'.
14:30:51 492 4568 Calling the managed procedure to register the 'cim.mobility.core, PublicKeyToken=e1e2fa3d945fad6f' assembly.
14:30:51 760 Connecting to the application domain of the Add-in Express loader.
14:30:51 760 Success.
14:30:51 760 Loading the 'cim.mobility.core, PublicKeyToken=e1e2fa3d945fad6f' assembly.
14:30:51 760 Success.
14:30:51 760 Registering the 'cim.mobility.core, PublicKeyToken=e1e2fa3d945fad6f' assembly (user).
14:30:51 760 The ' cim.mobility.core, PublicKeyToken=e1e2fa3d945fad6f' assembly has been registered successfully.
14:30:51 760 The managed registration process is complete with HRESULT = 0.
14:30:51 492 4568 The add-in registration process is completed with HRESULT = 0. |
|
Posted 03 Feb, 2011 15:27:50
|
|
Top
|
|
Vladislav Safronov
Posts: 31
Joined: 2009-07-06
|
It turns out my add-in is listed under Inactive application add-ins in Outlook with "Load behavior" set to "Unloaded".
If I proceed and Enable it, it seems to work fine.
But on the next Outlook start up, it is unloaded again... |
|
Posted 04 Feb, 2011 01:39:06
|
|
Top
|
|
Vladislav Safronov
Posts: 31
Joined: 2009-07-06
|
Update:
I've checked further, and the problem turns to be that my adxOlFormsManager.OnInitialize event handler is not being called.
But the code that defines the handler is and has always been there:
this.adxOlFormsManager1.Items.Add(this.adxOlFormsCollectionItem1);
this.adxOlFormsManager1.OnInitialize += new AddinExpress.OL.ADXOlFormsManager.OnComponentInitialize_EventHandler(this.adxOlFormsManager1_OnInitialize);
this.adxOlFormsManager1.SetOwner(this);
So I wonder as to why OnInitialize event is not triggered during Outlook startup...
P.S.
Moreover, it works fine on another machine with Outlook 2010 (not sure if Outlook version matters here).
So my question is: is there something that could prevent Outlook from calling adxOlFormsManager1.OnInitialize? |
|
Posted 04 Feb, 2011 02:22:50
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Vladislav,
Thank you for providing me with log files. I have noticed that you keep the UAC (User Account Control) disabled. Please have a look at the http://www.add-in-express.com/docs/net-deploying-debugging-tips.php#uac section in the online documentation.
Please unregister/uninstall the add-in, enable the UAC and then register the add-in again. Does it help? May I see new log files? |
|
Posted 04 Feb, 2011 08:38:24
|
|
Top
|
|
Vladislav Safronov
Posts: 31
Joined: 2009-07-06
|
Eugene,
Thank you for a hint.
But how do I enable UAC exactly?
I do have
"C:\Program Files\Add-in Express\Add-in Express for .NET\Bin\adxpatch.exe" "$(BuiltOuputPath)" /UAC=On
in the PostBuildEvent of my setup project,
but I see no effect of this.
I still get the "UAC (User Account Control): Off" in my log files, as shown below:
Add-in Express Registrator Log File: 02/04/2011 15:41:10
Installation directory: C:Program FilesMyCompanyMyProduct
Registrator version: 6.3.3052.0
Operating System: Microsoft Windows 7 Ultimate Edition (build 7600), 32-bit
Process Owner: System
Command Line: "C:Program FilesMyCompanyMyProductdxregistrator.exe" /Install=mycore.dll /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): Off
--------------------------------------------------------------
15:41:10 Starting the add-in registration process.
15:41:10 Loading mscoree.dll
15:41:10 Success.
15:41:10 .NET Framework installation directory:
15:41:10 The latest version of .NET Framework: 'v4.0.30319'
15:41:10 Loading CLR: v4.0.30319.
15:41:10 Calling CLRCreateInstance method.
15:41:10 Success.
15:41:10 Calling GetRuntime method.
15:41:10 Success.
15:41:10 Calling GetInterface method.
15:41:10 Calling GetInterface method for the CorRuntimeHost interface.
15:41:10 Success.
15:41:10 Starting CLR...
15:41:10 Success.
15:41:10 The CLR v4.0.30319 has been initialized successfully.
15:41:10 Creating a new domain setup.
15:41:10 Success.
15:41:10 Getting the add-in directory.
15:41:10 Success. The directory is 'C:Program FilesMyCompanyMyProduct'
15:41:10 The 'shadow copy' is disabled.
15:41:10 Creating a new application domain.
15:41:10 Success.
15:41:10 Getting the base directory for the domain.
15:41:10 Success. The directory is 'C:Program FilesMyCompanyMyProduct'.
15:41:10 Searching for the Add-in Express core library.
15:41:10 Success. The 'AddinExpress.MSO.2005.dll' file is found.
15:41:10 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
15:41:10 Assembly identity is 'AddinExpress.MSO.2005'.
15:41:10 Success.
15:41:10 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
15:41:10 Success.
15:41:10 Calling the managed registration procedure.
15:41:10 552 Connecting to the application domain of the Add-in Express loader.
15:41:10 552 Success.
15:41:10 552 Loading the 'mycore.dll' assembly.
15:41:11 552 Success.
15:41:11 552 Registering the 'mycore.dll' assembly (user).
15:41:11 552 The ' mycore.dll' assembly has been registered successfully.
15:41:11 Success.
15:41:11 The add-in registration process is completed with HRESULT = 0.
P.S.
I've even set "RunPostBuildEvent" property to "Always" but it did not help. |
|
Posted 04 Feb, 2011 08:58:08
|
|
Top
|
|
Eugene Astafiev
Guest
|
|
Posted 04 Feb, 2011 09:15:13
|
|
Top
|
|