ExecWB - Member Not Found

Won’t fix Issue #650502

Details

Created
Jul 28, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. System:
    web server: Windows Server 2012 R2
    web development client: Windows 8.1 with Visual Studio 2013 & Internet Explorer 11

  2. Create html page as such…

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>

ExecWB pops print preview from development page, but not from published page.

<script type="text/javascript">
    onload = printpreview();
    function printpreview() {
        document.body.insertAdjacentHTML(&#39;afterEnd&#39;, &#39;<object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" />&#39;);
        WebBrowser.ExecWB(7, 0);
    }
</script>

</body>
</html>

  1. Open page directly with IE11 in client.
    Observe that print preview would pop up.

  2. Debug or browse page with IE11 in client via Visual Studio.
    Observe that print preview would pop up.

  3. Publish page to server, then visit the published page with IE11 in client via internet/intranet.
    Observe that print preview would not pop up.

  4. Debug the published page with IE11 in client via F12, break on line: WebBrowser.ExecWB(7, 0);
    Observe the “Member Not Found” exception stepping into break point.

Expected Results:

ExecWB pops print preview from published page.

Actual Results:

Dev Channel specific:

Yes

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Nicole B.”

      Changed Assigned To from “Nicole B.” to “Jatinder M.”

      Changed Assigned To from “Jatinder M.” to “IE F.”

      Changed Status to “Won’t fix”

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

    Sign in