The add-on only runs in the main window

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

The add-on only runs in the main window
 
Ignacio Rodriguez




Posts: 2
Joined: 2013-09-19
Hello, I'm testing the example HttpMonitor, the example runs ok when I open the IE, but when I open a new tab or window the add-on doesn?t run in this new instance.
In the adxloader.log I see an error when the new window/tab is open.

I have the IE 9

Any ideas?

Thanks


Loader version: 8.3.5068.0
IE Protected Mode: Off
Operating System: Microsoft Windows 7 Professional (build 7600), 32-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Internet Explorer\iexplore.exe" SCODEF:9144 CREDAT:79873
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
09:53:13:737 0900 8820 Start.
09:53:13:737 0900 8820 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{37F03999-F3C6-409F-9164-B58F82369871}'
09:53:13:737 0900 8820 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{37F03999-F3C6-409F-9164-B58F82369871}' is closed.
09:53:13:738 0900 8820 Converting the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID from string.
09:53:13:738 0900 8820 Success.
09:53:13:738 0900 8820 Attempting to get the class object by the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID.
09:53:13:738 0900 8820 Success.
09:53:13:738 0900 8820 Creating a new instance of the add-on loader.
09:53:13:738 0900 8820 Loading mscoree.dll
09:53:13:741 0900 8820 Success.
09:53:13:741 0900 8820 Loading the configuration from the system registry.
09:53:13:741 0900 8820 Getting the latest CLR version.
09:53:13:759 0900 8820 The latest CLR version is 'v4.0.30319'.
09:53:13:759 0900 8820 The configuration has been loaded successfully.
09:53:13:759 0900 8820 Runtime version: v4.0.30319.
09:53:13:759 0900 8820 Assembly name: HttpMonitor, PublicKeyToken=70BEF33612168422.
09:53:13:759 0900 8820 Class name: HttpMonitor.IEModule.
09:53:13:759 0900 8820 Registry key: CLSID\{37F03999-F3C6-409F-9164-B58F82369871}.
09:53:13:759 0900 8820 Patching IInternetProtocol interface...
09:53:13:760 0900 8820 Success.
09:53:13:760 0900 8820 Patching IHttpNegotiate interface...
09:53:13:760 0900 8820 Success.
09:53:13:760 0900 8820 Patching IAuthenticate interface...
09:53:13:761 0900 8820 Success.
09:53:13:761 0900 8820 Creating tab window manager...
09:53:13:789 0900 8820 Success.
09:53:14:132 0900 8820 Attempting to create a new instance of the managed add-on class: CLR - v4.0.30319
09:53:14:133 0900 8820 Loading CLR: v4.0.30319.
09:53:14:133 0900 8820 Calling CLRCreateInstance method.
09:53:14:134 0900 8820 Success.
09:53:14:135 0900 8820 Calling GetRuntime method.
09:53:14:136 0900 8820 Success.
09:53:14:136 0900 8820 Checking if the hosting API of .NET Framework v4.0 beta is installed.
09:53:14:163 0900 8820 The hosting API is up to date.
09:53:14:163 0900 8820 Calling GetInterface method for the CorRuntimeHost interface.
09:53:14:163 0900 8820 Success.
09:53:14:163 0900 8820 Starting CLR...
09:53:14:452 0900 8820 Success.
09:53:14:452 0900 8820 Getting the CLR version.
09:53:14:452 0900 8820 The CLR v4.0.30319 has been initialized successfully.
09:53:14:452 0900 8820 Creating a new domain setup.
09:53:14:455 0900 8820 Success.
09:53:14:455 0900 8820 Getting the add-in directory.
09:53:14:455 0900 8820 Success. The directory is 'C:\Users\nacho2\Documents\Visual Studio 2010\Projects\HttpMonitor\HttpMonitor\HttpMonitor\bin\Debug\'
09:53:14:456 0900 8820 The 'shadow copy' is disabled.
09:53:14:456 0900 8820 Creating a new application domain.
09:53:14:468 0900 8820 Success.
09:53:14:468 0900 8820 Creating an instance of the managed class. Assembly identity: 'HttpMonitor, PublicKeyToken=70BEF33612168422'
09:53:15:225 0900 8820 Success.
09:53:15:225 0900 8820 Unwrapping the managed class.
09:53:15:289 0900 8820 Success.
09:53:15:290 0900 8820 Querying the ObjectWithSite interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Querying the IHttpNegotiate3 interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Querying the IAuthenticatEx interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Querying the IInternetProtocolSink interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Querying the IBindStatusCallback interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Querying the IInternetProtocol interface.
09:53:15:290 0900 8820 Success.
09:53:15:290 0900 8820 Getting the dispid of the 'Dispose' method.
09:53:15:295 0900 8820 Success.
09:53:15:295 0900 8820 Getting the dispid of the 'InitializeModule' method.
09:53:15:295 0900 8820 Success.
09:53:15:295 0900 8820 Getting the dispid of the 'InitializeLoaderAPI3' method.
09:53:15:295 0900 8820 Success.
09:53:15:295 0900 8820 The managed add-on class has been created successfully.
09:53:24:912 0900 6508 Start.
09:53:24:912 0900 6508 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{37F03999-F3C6-409F-9164-B58F82369871}'
09:53:24:912 0900 6508 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{37F03999-F3C6-409F-9164-B58F82369871}' is closed.
09:53:24:913 0900 6508 Converting the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID from string.
09:53:24:913 0900 6508 Success.
09:53:24:913 0900 6508 Attempting to get the class object by the '{A3A5C6A6-288F-4eee-8634-2BA9D5A28002}' CLSID.
09:53:24:913 0900 6508 Success.
09:53:24:913 0900 6508 Creating a new instance of the add-on loader.
09:53:24:913 0900 6508 Success.
09:53:24:913 0900 6508 Loading the configuration from the system registry.
09:53:24:913 0900 6508 Getting the latest CLR version.
09:53:24:914 0900 6508 The latest CLR version is 'v4.0.30319'.
09:53:24:914 0900 6508 The configuration has been loaded successfully.
09:53:24:914 0900 6508 Runtime version: v4.0.30319.
09:53:24:914 0900 6508 Assembly name: HttpMonitor, PublicKeyToken=70BEF33612168422.
09:53:24:914 0900 6508 Class name: HttpMonitor.IEModule.
09:53:24:914 0900 6508 Registry key: CLSID\{37F03999-F3C6-409F-9164-B58F82369871}.
09:53:24:914 0900 6508 Patching IInternetProtocol interface...
09:53:24:914 0900 6508 Success.
09:53:24:914 0900 6508 Patching IHttpNegotiate interface...
09:53:24:914 0900 6508 Success.
09:53:24:914 0900 6508 Patching IAuthenticate interface...
09:53:24:914 0900 6508 Success.
09:53:24:914 0900 6508 Creating tab window manager...
09:53:25:165 0900 6508 Success.
09:53:25:239 0900 6508 Attempting to create a new instance of the managed add-on class: CLR - v4.0.30319
09:53:25:239 0900 6508 Creating an instance of the managed class. Assembly identity: 'HttpMonitor, PublicKeyToken=70BEF33612168422'
09:53:25:752 0900 6508 Error code: 0x80131604
Posted 30 Sep, 2013 03:06:30 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ignacio,

Did you modify anything in the project?
Posted 30 Sep, 2013 07:53:19 Top
Ignacio Rodriguez




Posts: 2
Joined: 2013-09-19
Hi Sergey,

I solved the problem.
First I had modified the code because in default mode I couldn?t see the HttpForm, and I tried with visible options and other parameters in the code. Finally I discovered the option to force the bar in IE options "explorer bars" -> "HttpMonitor Example"

Thanks
Posted 30 Sep, 2013 09:39:57 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Good news. Let me know if you face any issues with the example.
Posted 30 Sep, 2013 12:44:37 Top