.NET UserControl embedded in HTML page does not work on Windows 10/IE11

Won’t fix Issue #9021622


Dan R.
Sep 22, 2016
This issue is public.
Found in
  • Internet Explorer
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Create a .NET Win Forms UserControl that displays something simple (for example the current date/time). Build to a DLL.
  2. Create a simple HTML page that embeds this control - sample below.
  3. Configure IIS to serve the page from a URL (local or other)
  4. Configure CASPOL and EnableIEHosting registry settings to allow .NET controls to run when embedded in web page
  5. Browse to the page using IE11 on Win10 (1607) - fails to display the control. Use dev tools to force to IE8 mode - successfully displays. It also works on Win7/IE11 without IE8 mode.

Sample HTML

<html xmlns="http://www.w3.org/1999/xhtml">
  <object id="testControl" classid="TestControlLibrary.dll#TestControlLibrary.TestControl" style="width: 300px; height: 100px"></object>
  <input type="button" onclick="alert(document.all.testControl.Test())" value="Test" />


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Status to “Won’t fix”


    Thank you for your
    feedback and sorry to hear that you are having difficulties with Internet
    Explorer. However we’re not presently working on feature bugs in Internet
    Explorer outside of security-related issues.

    Alternatively, if
    you have a premier support contract you can visit

    and open
    a support incident and work with an engineer to address this issue.


    Best regards,

    The MS Edge Team

  • Olá tenho o mesmo problema com minha aplicação. Já possui alguma solução para este problema?

  • Hello I have the same problem with my application. You have a solution to this problem?

You need to sign in to your Microsoft account to add a comment.

Sign in