IE freezes on certain domains when the Add-On is enabled

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

IE freezes on certain domains when the Add-On is enabled
IE freezes when the Add-In Express add-on is enabled and all internet sites are accessed 
Subscribe
Paul Grzybala




Posts: 10
Joined: 2018-09-05
We use add-ons to load our application on customers' environments and for most of our customers there are no issues.

We have built an extension (add-on) for a customer, and their IE11 is freezing and not responding at all when any url is accessed.

If the add-on is disabled everything works fine.

Key points from our troubleshooting so far:


  • running as admin (and not as specific admin user) makes it work just fine
  • installing a completely empty add-in express add-on project from VS still makes the issue to occur
  • applying group policies to force IE options don’t affect the issue
  • adding standard users to local admin groups don’t affect the issue
  • resetting IE brings up a registry access error
  • the issue doesn’t seem to occur on the intranet sites, only internet
  • changing any IE advanced option (and even changing it back, or not) fixes the issue for good on this client and it cannot be broken again until the client is re-imaged


This occurs only for one of our customers (companies) and it's on all of their corporate environment computers.

Please let us know what specific details are required and we can provide them.

Thank you
Posted 14 May, 2019 11:20:26 Top
Andrei Smolin


Add-in Express team


Posts: 16167
Joined: 2006-05-11
Hello Paul,

We've never received such reports.

Paul Grzybala writes:
until the client is re-imaged


Do you install updates after that?

Is "Check for publisher’s certificate revocation" turned on or off? Is the certificate used to digitally sign the add-on valid?

Could you send us the InitializeComponent() method of your add-in module (it is called from the constructor)? You can send it to the support email address; find it in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2019 06:51:29 Top
Paul Grzybala




Posts: 10
Joined: 2018-09-05
Hi Andrei,

Thank you for your prompt reply.

I've sent all details to your support email as requested.

Looking forward for your reply.

Thank you again,
Paul
Posted 15 May, 2019 08:15:06 Top
Andrei Smolin


Add-in Express team


Posts: 16167
Joined: 2006-05-11
Thank you. We are looking at them.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2019 08:19:31 Top
Andrei Smolin


Add-in Express team


Posts: 16167
Joined: 2006-05-11
Hello Paul,

Check if the issue persists after commenting out all the code in DocumentComplete2.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2019 10:01:26 Top
Paul Grzybala




Posts: 10
Joined: 2018-09-05
Hi Andrei,

This occurs even without the DocumentComplete2 function at all, as we have tested to create just a new ADX project without any extra changes trying to isolate the issue. IE freezes still freezes with this.

So this default code has the same behaviour:


using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Windows.Forms;
using IE = Interop.SHDocVw;
using AddinExpress.IE;
 
namespace AdoptExtensionSynlait
{
    /// <summary>
    /// Add-in Express for Internet Explorer Module
    /// </summary>
    [ComVisible(true), Guid("AC43FE76-FE39-47FA-AFC9-0CA91ED26445")]
    public class IEModule : AddinExpress.IE.ADXIEModule
    {
        public IEModule()
        {
            InitializeComponent();
            //Please write any initialization code in the OnConnect event handler
        }
 
        public IEModule(IContainer container)
        {
            container.Add(this);
 
            InitializeComponent();
            //Please write any initialization code in the OnConnect event handler
        }
 
        #region Component Designer generated code
        /// <summary>
        /// Required by designer
        /// </summary>
        private System.ComponentModel.IContainer components;
 
        /// <summary>
        /// Required by designer support - do not modify
        /// the following method
        /// </summary>
        private void InitializeComponent()
        {
            //
            // IEModule
            //
            this.HandleShortcuts = true;
            this.LoadInMainProcess = false;
            this.ModuleName = "AdoptExtensionSynlait";
        }
        #endregion
 
        #region ADX automatic code
 
        // Required by Add-in Express - do not modify
        // the methods within this region
 
        public override System.ComponentModel.IContainer GetContainer()
        {
            if (components == null)
                components = new System.ComponentModel.Container();
            return components;
        }
 
        [ComRegisterFunctionAttribute]
        public static void RegisterIEModule(Type t)
        {
            AddinExpress.IE.ADXIEModule.RegisterIEModuleInternal(t);
        }
 
        [ComUnregisterFunctionAttribute]
        public static void UnregisterIEModule(Type t)
        {
            AddinExpress.IE.ADXIEModule.UnregisterIEModuleInternal(t);
        }
 
        [ComVisible(true)]
        public class IECustomContextMenuCommands :
            AddinExpress.IE.ADXIEModule.ADXIEContextMenuCommandDispatcher
        {
        }
 
        [ComVisible(true)]
        public class IECustomCommands :
            AddinExpress.IE.ADXIEModule.ADXIECommandDispatcher
        {
        }
 
        #endregion
 
        public IE.WebBrowser IEApp
        {
            get
            {
                return (this.IEObj as IE.WebBrowser);
            }
        }
 
        public mshtml.HTMLDocument HTMLDocument
        {
            get
            {
                return (this.HTMLDocumentObj as mshtml.HTMLDocument);
            }
        }

 
    }
}
Posted 15 May, 2019 10:22:18 Top
Andrei Smolin


Add-in Express team


Posts: 16167
Joined: 2006-05-11
Hello Paul,

Do you install all updates? Do you turn all other IE extensions off? What Windows build are you using?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 May, 2019 07:18:19 Top
Paul Grzybala




Posts: 10
Joined: 2018-09-05
Hi Andrei,

The client's standard build is Win 10 Enterprise 64bit with all latest updates installed and their version if IE is:

User added an image

For testing we have already tried with all other IE extensions turn off or turned on but without any difference. As soon as an (even empty default -like above-) ADX extension is enabled and they open any internet site (e.g. google.com), IE freezes and it needs to be killed from the processes.

Do you think it would be useful to organise a call with the customer so you could see the behaviour in their environment first hand? Would that be even possible? If so, just let us know and we can organise that, as we have ran out of ideas on what else to try.

Thank you,
Paul
Posted 16 May, 2019 07:48:08 Top
Andrei Smolin


Add-in Express team


Posts: 16167
Joined: 2006-05-11
Hello Paul,

Let's start with capturing a video. You can use any free video recorder available online (e.g. Jing). We would also ask you to reset all security zones in IE.

Would it be possible to check if the issue relates to their antivirus software?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 May, 2019 08:47:15 Top
Paul Grzybala




Posts: 10
Joined: 2018-09-05
Hi Andrei,

The antivirus was tested in a previous remote session where it was disabled and the same issue still occurred, so it doesn’t seem to be affecting it either.

The only things we've found to affect it are:


  • Right click > Run as administrator = IE works fine on all websites
  • Run IE as standard user (or Run As > any specific admin user) = IE freezes on internet sites
  • Change any IE advanced option (and even changing it back, or not, it doesn't matter) fixes the issue for good on this client and it cannot be broken again until the client is re-imaged


I've sent over a video recording to your support email. Feel free to go through it and if any other details are needed just let us know.

Thank you,
Paul
Posted 16 May, 2019 09:33:50 Top