Why load my add in so slow on certain PC?

Add-in Express™ Support Service
That's what is more important than anything else

Why load my add in so slow on certain PC?
Why load my add in so slow on certain PC? 
Dash Chi




Posts: 5
Joined: 2011-02-12
Add-in Express Registrator Log File: 02/12/2011 18:17:14

Installation directory: C:\Program Files (x86)\Default Company\MyIEAddon\
Registrator version: 6.3.3053.0
Operating System: Microsoft Windows Server 2008 R2 Enterprise Edition (build 7600), 64-bit
Process Owner: System
Command Line: "C:\Program Files (x86)\Default Company\MyIEAddon\adxregistrator.exe" /install="MyIEAddon.dll" /privileges=admin
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): On
--------------------------------------------------------------
18:17:14 Starting the add-in registration process.
18:17:14 Loading mscoree.dll
18:17:14 Success.
18:17:14 .NET Framework installation directory:
18:17:14 The latest version of .NET Framework: 'v2.0.50727'
18:17:14 Loading CLR: v2.0.50727.
18:17:14 The CLR v2.0.50727 has been initialized successfully.
18:17:14 Creating a new domain setup.
18:17:14 Success.
18:17:14 Getting the add-in directory.
18:17:14 Success. The directory is 'C:\Program Files (x86)\Default Company\MyIEAddon\'
18:17:14 The 'shadow copy' is disabled.
18:17:14 Creating a new application domain.
18:17:14 Success.
18:17:14 Getting the base directory for the domain.
18:17:14 Success. The directory is 'C:\Program Files (x86)\Default Company\MyIEAddon\'.
18:17:14 Searching for the Add-in Express core library.
18:17:14 Success. The 'AddinExpress.IE.dll' file is found.
18:17:14 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
18:17:14 Assembly identity is 'AddinExpress.IE'.
18:17:31 Success.
18:17:31 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
18:17:32 Success.
18:17:32 Calling the managed registration procedure.
18:17:32 1332 Connecting to the application domain of the Add-in Express loader.
18:17:32 1332 Success.
18:17:32 1332 Loading the 'myieaddon.dll' assembly.
18:17:32 1332 Success.
18:17:32 1332 Registering the 'myieaddon.dll' assembly (administrator).
18:17:32 1332 The ' myieaddon.dll' assembly has been registered successfully.
18:17:32 Success.
18:17:32 The add-in registration process is completed with HRESULT = 0.

You can see that it take 18s to load the add in. I use the wizard to create the project and didn't add any code. But it works on some PC. I compared it with another PC. the only difference I found is that one is "Windows Server 2008 R2 Enterprise Edition" and the other is "Windows Server 2008 R2 Standard Edition".
Posted 12 Feb, 2011 04:55:41 Top
Dash Chi




Posts: 5
Joined: 2011-02-12
Sorry, the above is the Registrator Log. The following is the Loader Log.

Add-in Express Loader Log File: 02/13/2011 14:49:16

Startup directory: D:\SmartTag\
Loader version: 6.3.3054.0
IE Protected Mode: Off
Operating System: Microsoft Windows Server 2008 R2 Enterprise Edition (build 7600), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE" SCODEF:37336 CREDAT:79873
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
------------------------------------------------------------------------
14:49:16 940 84196 Start.
14:49:16 940 84196 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{D483691A-1020-47EE-B5DE-05A7179D71B1}'
14:49:16 940 84196 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{D483691A-1020-47EE-B5DE-05A7179D71B1}' is closed.
14:49:16 940 84196 Converting the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID from string.
14:49:16 940 84196 Success.
14:49:16 940 84196 Attempting to get the class object by the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID.
14:49:16 940 84196 Success.
14:49:16 940 84196 Creating a new instance of the add-on loader.
14:49:16 940 84196 Success.
14:49:16 940 84196 Loading the configuration from the system registry.
14:49:16 940 84196 Getting the latest CLR version.
14:49:16 940 84196 The latest CLR version is 'v2.0.50727'.
14:49:16 940 84196 The configuration has been loaded successfully.
14:49:16 940 84196 Runtime version: v2.0.50727.
14:49:16 940 84196 Assembly name: MaxIESmartTag, PublicKeyToken=C0A65DD15C0F58D7.
14:49:16 940 84196 Class name: MaxIESmartTag.IEModule.
14:49:16 940 84196 Registry key: CLSID\{D483691A-1020-47EE-B5DE-05A7179D71B1}.
14:49:16 940 84196 Attempting to create a new instance of the managed add-on class: CLR - v2.0.50727
14:49:16 940 84196 Loading CLR: v2.0.50727.
14:49:16 940 84196 The CLR v2.0.50727 has been initialized successfully.
14:49:16 940 84196 Creating a new domain setup.
14:49:16 940 84196 Success.
14:49:16 940 84196 Getting the add-in directory.
14:49:16 940 84196 Success. The directory is 'D:\SmartTag\'
14:49:16 940 84196 The configuration file is 'D:\SmartTag\MaxIESmartTag.dll.config'
14:49:16 940 84196 The 'shadow copy' is enabled.
14:49:16 940 84196 Creating a new application domain.
14:49:16 940 84196 Success.
14:49:33 940 84196 Unwrapping the managed class.
14:49:33 940 84196 Success.
14:49:33 940 84196 Querying the ObjectWithSite interface.
14:49:33 940 84196 Success.
14:49:33 940 84196 Getting the dispid of the 'Dispose' method.
14:49:33 940 84196 Success.
14:49:33 940 84196 Getting the dispid of the 'InitializeModule' method.
14:49:33 940 84196 Success.
14:49:33 940 84196 Getting the dispid of the 'InitializeLoaderAPI' method.
14:49:33 940 84196 Success.
14:49:33 940 84196 The managed add-on class has been created successfully.
Posted 13 Feb, 2011 01:46:34 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Dash.

The causes of the issue may be as follows:
1. The dll cache contains many files/folders and it takes the .NET assembly loader a long time to find and load dependent assemblies.
2. PC doesn't have all the latest updates installed.
3. PC doesn't have a proper configuration (like CPU and RAM) to work effectively with .NET based applications.
4. The 'Check for publisher's certificate revocation' option is enabled in IE.
Posted 15 Feb, 2011 05:47:20 Top
Dash Chi




Posts: 5
Joined: 2011-02-12
Thank you very much!
My problem is caused by:
4. The 'Check for publisher's certificate revocation' option is enabled in IE.
And it has been fixed by uncheck this option.
Thanks again.
Posted 18 Feb, 2011 03:26:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Dash,

Thank you for letting us know.
Posted 18 Feb, 2011 05:38:01 Top