none
IE 8 800704a6 When opening Javascript driven web pages RRS feed

  • Question

  • Environment:
    1) A javascript driven web site, with a SQL database backend
    2) A windows application that has a webbrowser control embedded in it.
    3) The windows application queries the SQL database for web pages that have a certain string in a particular field.
    4) When the datagridview cell is clicked, the uniqueID of that web page is parsed from the cell click event and fed to the webbrowser to open that web page
    5) IE 7 worked great for three years
    6) Upgraded to IE8 and now when we click to open that web page via the uniqueID in the datagridview we get an error 800704a6

    Symptoms:
    Message box with these details:
    Line: 4052
    Error: Could not complete the operation due to error 800704a6.
    Cannot attach the IE javascript error because it says an unhandled exception ('Could not complete the operation due to error 800704A6.') occurred in my application.

    I'll see if I can attach the C# debugger and determine the content of line 4026, right now the web page has disabled View Source ability so I can't see the offending line. 

    However; my search for 800704a6 returns nothing on Google or MSDN. 
    Anyone have an idea?

    Monday, April 13, 2009 11:08 AM

Answers

  • Not sure which one, but one of these settings fixed the problem:

    Go to Tools/Internet Options/Security click on proper zone, then on Customize Settings.

    Under the Miscellaneous section:
    Use Pop-up Blocker (disable)

    Under the Scripting section:
    Active Scripting (enable)
    Allow status bar updates via script (enable)
    Allow Websites to Prompt for infomation... (Enable)
    Enable XSS filter (Enable)

    Under the section User Authentication
    Logon (Anonymous logon)

    Monday, April 13, 2009 6:01 PM

All replies

  • New Information:

    The javascript debugger showed me that this is the offending statement:

        w = window.open(popup_url, "", features);
    
    

    This window.open is invoked by a javascript statement (in the windows C# application):

        HtmlElement htmle = webBrowser1.Document.Window.Frames["gobtn"].Document.All["imgBtn0"];
    
        _jobtrace = "Frame:Gobtn InvokeMember(onClick)";
    
        object obj = htmle.InvokeMember("onClick");
    
    

    If I open this same page only in IE8 it works, but using my application with an embedded webbrowser control, it dies.

    Looks like it may have something to do with security? Doesn't it?

    Monday, April 13, 2009 12:01 PM
  • Not sure which one, but one of these settings fixed the problem:

    Go to Tools/Internet Options/Security click on proper zone, then on Customize Settings.

    Under the Miscellaneous section:
    Use Pop-up Blocker (disable)

    Under the Scripting section:
    Active Scripting (enable)
    Allow status bar updates via script (enable)
    Allow Websites to Prompt for infomation... (Enable)
    Enable XSS filter (Enable)

    Under the section User Authentication
    Logon (Anonymous logon)

    Monday, April 13, 2009 6:01 PM
  • None of these options have solved my problem...
    Other idea?
    • Proposed as answer by Francois__M Tuesday, April 21, 2009 7:33 PM
    Tuesday, April 21, 2009 6:21 PM
  • My OS is Vista 32 bits with IE8 and I've found a solution...

    You just have to disable Protected Mode in IE.
    Menu Tools -> Internet Options -> Security -> Internet -> Disable Protected Mode.

    It works perfectly but i'm aware it's a workaround! :)
    • Proposed as answer by Francois__M Tuesday, April 21, 2009 7:37 PM
    Tuesday, April 21, 2009 7:37 PM
  • I have the same problem on a winXP with IE8.
    Does anybody know how I can fix it on XP ?

    Thanks
    Friday, December 4, 2009 5:02 AM
  • I am trying to open a web site programmatically using Web Browser Control in VB.NET.
    I am getting the 800704a6 JS Error in Windows XP. It is working fine in all the systems.

    I have tried all the above workarounds. None of them worked for me :(
    Any suggestions?

    TIA
    Pranav
    Wednesday, January 20, 2010 10:41 PM