[CLOSED] [1.0] Operation Aborted in IE7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] [1.0] Operation Aborted in IE7

    Not sure when this issue first appeared but alot of our legacy pages are now broken under IE7. Every legacy page with Coolite throws Operation Aborted error as seen here - http://blogs.msdn.com/b/ie/archive/2...n-aborted.aspx

    Our QA just started environmental testing so this could have been introduced a few weeks ago. I am running latest SVN. Our legacy page uses a custom page rendering logic that creates its own html header and part of the page. It mimics masterpage before masterpage was available back in asp.net 1.0. When ResourceManager is added to the page, the scripts are outputted in the middle html file. Here's an example of a simple empty page with just the ResourceManager on it. Notice how the Ext.Net scripts are in the middle of the page and not at the beginning. What's this new <Ext.Net.InitScript> tag for? That's one difference I noticed from v0.8. Note that this set up worked fine in v0.8.


    <html>
        <head>
            <title>
                Test Page
            </title><link rel="stylesheet" type="text/css" href="/StrataJazz800/Res/Themes/LightSlate/Styles/Theme.css" /><link rel="stylesheet" type="text/css" href="/StrataJazz800/Res/Themes/LightSlate/Styles/TabStrip.css" /><link rel="stylesheet" type="text/css" href="/StrataJazz800/Res/Themes/LightSlate/Styles/Panelbar.css" /><script language="javascript" src="/StrataJazz800/Res/Scripts/XControls.js"></script><script language="javascript" src="/StrataJazz800/RadControls/Menu/Scripts/4_4_4/RadMenu.js"></script><link rel="stylesheet" type="text/css" href="/StrataJazz800/RadControls/Menu/Scripts/4_4_4/menu.css" /><script language=javascript>function onContentShown() {pageMenuCacheKey = 'TEST_9AE5110A-0EBB-449D-BF33-FF7BF56BAB77_271FD403-84D8-400E-B654-89BBF9DE7378DEFAULT';pageLoadingMessage='Loading...';pageUnloadEnabled=true;pageWebRoot='/StrataJazz800/';pageMachineName='DTAON03';setTimeout('scrollPositionLoad(\'BodyContent\');');}function onBeforeResize(firsttime) {}function onAfterResize(firsttime) {}</script><script language="javascript" src="/StrataJazz800/Cache/zzRESIZING_TEST.js"></script>
        </head><body onload="enablePageResizing();">
            <form name="frmMain" method="post" action="test.aspx" id="frmMain" visibility="hidden" onsubmit="blockClicks(true);">
            <div>
            <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
            <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
            <input type="hidden" name="SM_HiddenField" id="SM_HiddenField" value="" />
            <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPaA8FDzhjZDAwNmQzYmFmNzU0YxgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUFY3RsMDkw9PM391UsbfdQxk9JTlq9pQoN1w==" />
            </div>
            
    <script type="text/javascript"> 
    //<![CDATA[
    var theForm = document.forms['frmMain'];
            if (!theForm) {
        theForm = document.frmMain;
    }
            function __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }
    }
            //]]>
    </script>
     
     
            
    <script src="/StrataJazz800/ScriptResource.axd?d=zkFlW5jukdxe8JMjkxf-CUu8O6FGNyfTjEjR6dX-GuHi1dcnGQd-XDdFJ0A4x7BknNcdpbYYfLAQkCYi3a7J7uWNkUqAmazEQy7tGi6BBvk1&amp;t=ffffffffec2d9970" type="text/javascript"></script>
    <script type="text/javascript"> 
    //<![CDATA[
    if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
    //]]>
    </script>
     
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIVusdNBtN4U6t8cSxqcJxTp7oBB6YwdiL8BRh56KqUAy0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIYw65d4ScBMyon5P-ppb4mhuL_2XY0fho8kZApy5mkEq0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIeJs4NvuFcuNauHEiMCptV81&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIcSjoMwAGByPk7dZI4CeoUg1&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIRVuzV22GDNhfLLRbTmBd2c6kxARhaXQG2mGpRRf-Adk0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIdVJD4T2xobcMA67lZ19dohV9ic5UHyKINy_M0lZ9rFx0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIdJs332OoyZ5QbfkeVPJZf-NcXeV6LMq5yG9Tq2cXasi0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIT3CROOmDOxcVvYyu8zhGRG1QT3Pka-UPrBOVxahx5HN0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIVaD67TglG2hrKd3rN-q05mqBrX4JpGYE4icopN2JdP50&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIQewBPYq6DsCMnzxjdJdDYDsQKyc9yoBtX20k0RshfSj0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIQysMBiLOf_re8L-ZGHnHNY1&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIYDjxb3TBBk5aYBpMeudCPCIorsmSP9r22-XJlG4Kv-M0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIfLUm5RjrYXHAvOwm0A5Tpm9_2F3u1xYpjofKitypVxf0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="/StrataJazz800/ScriptResource.axd?d=DWFgJ1AI4hejFmqQ-pmkIVIVC6d0H2LxW_k7YL8M_zloedhEh8sE5MzRBwD12AfT0&amp;t=ffffffffb6cbe199" type="text/javascript"></script>
    <script src="Services/MenuResponder.asmx/jsdebug" type="text/javascript"></script><div id="BodyContent" class="BodyContent" onscroll="scrollPositionSave('BodyContent');">
                <table border="0" cellpadding="4" cellspacing="0" width="100%" style="table-layout:fixed;">
                    <tr>
                        <td><div id="bpCoolite">
     
                        </div>
        <div id="pnl">
                            
            <Ext.Net.InitScript>
        <script type="text/javascript" src="/StrataJazz800/extjs/adapter/ext/ext-base-js/ext.axd?v=24592"></script>
        <script type="text/javascript" src="/StrataJazz800/extjs/ext-all-js/ext.axd?v=24592"></script>
        <script type="text/javascript" src="/StrataJazz800/extnet/extnet-core-js/ext.axd?v=24592"></script>
        <script type="text/javascript">
        //<![CDATA[
            Ext.onReady(function(){Ext.QuickTips.init();});Ext.net.ResourceMgr.init({id:"ctl09",BLANK_IMAGE_URL:"/StrataJazz800/extjs/resources/images/default/s-gif/ext.axd",aspForm:"frmMain",theme:"blue"});
        //]]>
        </script>
    </Ext.Net.InitScript><Ext.Net.InitStyle>
        <link rel="stylesheet" type="text/css" href="/StrataJazz800/extjs/resources/css/ext-all-embedded-css/ext.axd?v=24592" />
    </Ext.Net.InitStyle>
        
                        </div>
        </td>
                    </tr>
                </table>
     
            </div><input name="ctlSWCRD$hidBPTicket" type="hidden" id="ctlSWCRD_hidBPTicket" value="0" /><div class="ModalContainer" style="visibility:hidden; display:none;"><div id="StatusDiv" class="Status"><table border=0 cellpadding=0 cellspacing=0 ID="StatusTable" align="center"><tr><td align=center><span class="Status" id="StatusText"></span></td></tr></table></div></div><input name="hidHelperInput" type="hidden" id="hidHelperInput" /><input name="hidHelperInput2" type="hidden" id="hidHelperInput2" /><input name="hidScrollPositions" type="hidden" id="hidScrollPositions" /><input type="submit" name="btnHelper" value="" id="btnHelper" style="visibility:hidden;display:none;" /><input name="hidPageMadeChangesInput" type="hidden" id="hidPageMadeChangesInput" value="0" /><iframe id="KeepAlive" src="/StrataJazz800/KeepAlive.aspx?updateLastActionStamp=1" style="visibility:hidden; display:none;"></iframe>
            <script language=javascript>initPage();</script><script language="javascript">window.onbeforeunload = onBeforeUnload;</script>
    <script type="text/javascript"> 
    //<![CDATA[
    Sys.Application.initialize();
    //]]>
    </script>
    </form>
    </body>
    </html>
    Last edited by Daniil; Aug 06, 2010 at 2:33 PM.
  2. #2
    Hi,

    Does your <head> tag have a runat="server" attribute?

    Example

    <head runat="server">
    Geoffrey McGill
    Founder
  3. #3
    Can you also confirm that you have the correct Ext.NET nodes configured in your Web.config, see

    http://wiki.ext.net/Web.config
    Geoffrey McGill
    Founder
  4. #4
    Web.config looks good. There's no head control in our pages. We custom render out the head section of the html.
  5. #5
    I am now able to construct a replaceable example by using the ResourcePlaceHolder. Please use IE7. The exact version I am using is 7.0.5730.13 with WinXP and SP3 but you should be able to reproduce with any IE7.

    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server">
        </ext:ResourceManager>
        <div>
            <ext:ResourcePlaceHolder runat="server">
            </ext:ResourcePlaceHolder>
        </div>
        </form>
    </body>
    </html>
  6. #6
    Try to place a ResourcePlaceHolder tag either in your <head> or high up in the <body>. Theoretically should work if placed just before closing </body> tag, but you might get a flash of raw unstyled html before the .css load.

    Example

    <ext:ResourcePlaceHolder runat="server" />
    Hope this helps.
    Geoffrey McGill
    Founder
  7. #7
    Hi,

    Your sample doesn't reproduce the custom tag issues (<Ext.Net.InitScript><Ext.Net.InitStyle>)
    It is server side issue (doesn't depend from the browser).

    If you create new project then do you have those tags in your simple example?
  8. #8
    Quote Originally Posted by geoffrey.mcgill View Post
    Try to place a ResourcePlaceHolder tag either in your <head> or high up in the <body>. Theoretically should work if placed just before closing </body> tag, but you might get a flash of raw unstyled html before the .css load.

    Example

    <ext:ResourcePlaceHolder runat="server" />
    Hope this helps.
    Unfortunately, we dont have a serverside head control. Before, the page worked fine with the scripts rendering in the middle of the page. According to this forum post , ResourcePlaceHolder can be put in the bottom of the page. Is that no longer valid?
  9. #9
    Hi,

    - Do you have runat="server" attribute on head tag?
    - Do you have DirectRequestModule in the web.config?

    It seems that InitScriptFilter works incorrectly, it should parse that custom tags and place scripts and styles to the correct positions
    Can you provide a test project configuration which generates such pages?

Similar Threads

  1. Combobox Item with operation symbols
    By inaltec in forum 1.x Help
    Replies: 1
    Last Post: Feb 01, 2012, 5:39 PM
  2. Replies: 0
    Last Post: Nov 30, 2011, 12:51 PM
  3. Grid Panel Export Operation
    By sumesh in forum 1.x Help
    Replies: 1
    Last Post: May 30, 2011, 11:32 AM
  4. Operation Requires an Ajax Request
    By dan182 in forum 1.x Help
    Replies: 1
    Last Post: Feb 23, 2011, 12:58 PM
  5. This operation requires an Ajax request
    By dan182 in forum 1.x Help
    Replies: 0
    Last Post: Feb 03, 2011, 10:34 AM

Posting Permissions