Issues with 2009

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

Issues with 2009
 
Miroslav Hanes




Posts: 2
Joined: 2010-06-25
Hello,

Under Win 2003, IE8, VS 2008, AddIn Express IE 2009, we have developped assembly which uses a webservice. On development server everything runs fine. However there are several issues with deployment on IE with protected mode.

1. Before updating adxloader.dll to 5.2.2027.0, log always ended with Not implemened error line and did not load at all.

2. When protected mode is off, plugin is fully functional.

3. When protected mode is on, log file seems ok, but IE keeps stuck at Connecting... on every tab. It would seem that adxloader.exe keeps restarting (in task manager). This may be an issue with the used webservice, but we have not observed csc.exe warnings or exceptions as other users on this forum did.

Log file:
Add-in Express Loader Log File: 06/25/2010 12:58:45

Startup directory: C:\Program Files (x86)\AutoScan\AutoScan Plugin IE\
Loader version: 5.2.2027
IE Protected Mode: On
------------------
12:58:45 1300 289368 Start.
12:58:45 1300 289368 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{38995109-94A7-4FCB-BC13-05ECDAE83DFC}'
12:58:45 1300 289368 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{38995109-94A7-4FCB-BC13-05ECDAE83DFC}' is closed.
12:58:45 1300 289368 Converting the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID from string.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Attempting to get the class object by the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Creating a new instance of the add-on loader.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Loading the configuration from the system registry.
12:58:45 1300 289368 Getting the latest CLR version.
12:58:45 1300 289368 The latest CLR version is 'v2.0.50727'.
12:58:45 1300 289368 The configuration has been loaded successfully.
12:58:45 1300 289368 Runtime version: v2.0.50727.
12:58:45 1300 289368 Assembly name: autoscan-plugin-ie, PublicKeyToken=D9263F551A4249F2.
12:58:45 1300 289368 Class name: autoscan_plugin_ie.IEModule.
12:58:45 1300 289368 Attempting to create a new instance of the managed add-on class: CLR - v2.0.50727
12:58:45 1300 289368 Loading CLR: v2.0.50727.
12:58:45 1300 289368 The CLR v2.0.50727 has been initialized successfully.
12:58:45 1300 289368 Creating a new domain setup.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Getting the add-in directory.
12:58:45 1300 289368 Success. The directory is 'C:\Program Files (x86)\AutoScan\AutoScan Plugin IE\'
12:58:45 1300 289368 The configuration file is 'C:\Program Files (x86)\AutoScan\AutoScan Plugin IE\autoscan-plugin-ie.dll.config'
12:58:45 1300 289368 The 'shadow copy' is disabled.
12:58:45 1300 289368 Creating a new application domain.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Unwrapping the managed class.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Querying the ObjectWithSite interface.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Getting the dispid of the 'Dispose' method.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Getting the dispid of the 'InitializeModule' method.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 Getting the dispid of the 'InitializeLoaderAPI' method.
12:58:45 1300 289368 Success.
12:58:45 1300 289368 The managed add-on class has been created successfully.

4. In the attempt to install Add-in Express IE 2009 on another development machine with fully patched Windows 7 x64, VS 2008 SP1, we receive an installation error.

Could you please point me to the right direction?

Miroslav Hanes
Posted 25 Jun, 2010 07:31:24 Top
Andrei Smolin


Add-in Express team


Posts: 15284
Joined: 2006-05-11
Hi Miroslav,

Try setting "Generate serialization assembly" in the project properties to On. Does this help?

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Jun, 2010 09:10:25 Top
Miroslav Hanes




Posts: 2
Joined: 2010-06-25
Hi Andrei,

unfortunatelly, it did not help. We had serialization assembly generated manually before and the result was pretty much the same. Since the webservice has fairly simple interface, dropping the SoapClient and using WebRequest and StringBuilder was the way the go. It took far less time to rewrite the client from scratch then to debug the mess with xml serialization.

Plugin now works under all browser version we could find.

Best regards

Miroslav Hanes
Posted 02 Jul, 2010 04:28:59 Top
Andrei Smolin


Add-in Express team


Posts: 15284
Joined: 2006-05-11
Thank you, Miroslav!

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Jul, 2010 04:34:43 Top