'Out of memory at line XX' error in Internet Explorer

Discussion in 'ASP .Net Building Controls' started by Matt, May 13, 2005.

  1. Matt

    Matt Guest

    Problem description:

    I have a TextBox on Web User Control that is loaded into a PlaceHolder
    on my ASPX page. There are other Web User Controls on that page as
    well.

    When the page loads I can input text into the TextBox without any
    problem. However, after postback if I try to input text into the
    TextBox I get an Internet Explorer pop-up message box stating:
    'A Runtime Error has occurred.
    Do you wish to debug?
    Line: 35
    Error: Out of memory'

    This does not happen on Firefox, only IE.

    More info:

    TextBox markup:
    <asp:TextBox id=txtMyTextBox CssClass="MyTextBox"
    Runat="server"></asp:TextBox>

    Script-debugger breaks to:
    <script language="javascript" type="text/javascript">
    //<![CDATA[
    var qq1=null,qq2=new Array(),qq3=null;function
    qq9(qzyb,qznv){this.qztk=qzyb;this.qznv=qznv;};function
    qq5(qzyb){for(var
    qzba=0;qzba<qq2.length;qzba++){if(qq2[qzba].qztk==qzyb){eval(qq2[qzba].qznv);return
    true;};};return
    false;};if(document.layers){document.captureEvents(Event.KEYPRESS);};function
    qq6(qzim){if(qq7(qzim)&&qq3&&qq3!=qq6){qq3(qzim);};};function
    qq7(qzim){if(!qq1||!qq1.KeyboardEnabled){return
    true;};if(document.activeElement&&(document.activeElement.nodeName=='INPUT'||document.activeElement.nodeName=='SELECT'||document.activeElement.nodeName=='TEXTAREA')){return
    true;};var
    qztk;if(document.all){qzim=window.event;qztk=qzim.keyCode;}else{qztk=qzim.which;};var
    qzAbi=String.fromCharCode(qztk);if(qztk>111&&qztk<123)qzAbi="F"+(qztk-111);else
    if(qztk==13)qzAbi="Enter";var
    qzlk="";if(qzim.shiftKey)qzlk+="Shift+";if(qzim.ctrlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qzlk+=qzAbi;if(!qq5(qzlk)){return
    true;};if(document.all){qzim.cancelBubble=true;qzim.returnValue=false;}else{qzim.preventDefault();qzim.stopPropagation();};return
    false;};function
    ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq2[qq2.length]=new
    qq9(qzyb,qznv);};function qq8(menuObj){qq1=menuObj;};function
    ComponentArt_Menu_InitKeyboard(menu){qq8(menu);qq1.KeyboardEnabled=true;qq1.qzad=menu.Items()[0];qq3=document.onkeydown;document.onkeydown=qq6;};var
    ComponentArt_Menu_Keyboard_Loaded=true;

    //]]>
    </script>

    I have tried reconstructing the Web User Control... to no avail.

    Any ideas?

    Thanks ~ Matt
    Matt, May 13, 2005
    #1
    1. Advertising

  2. Matt

    Guest

    Havey ou tried doing this on another machine?

    Lisa


    Matt wrote:
    > Problem description:
    >
    > I have a TextBox on Web User Control that is loaded into a

    PlaceHolder
    > on my ASPX page. There are other Web User Controls on that page as
    > well.
    >
    > When the page loads I can input text into the TextBox without any
    > problem. However, after postback if I try to input text into the
    > TextBox I get an Internet Explorer pop-up message box stating:
    > 'A Runtime Error has occurred.
    > Do you wish to debug?
    > Line: 35
    > Error: Out of memory'
    >
    > This does not happen on Firefox, only IE.
    >
    > More info:
    >
    > TextBox markup:
    > <asp:TextBox id=txtMyTextBox CssClass="MyTextBox"
    > Runat="server"></asp:TextBox>
    >
    > Script-debugger breaks to:
    > <script language="javascript" type="text/javascript">
    > //<![CDATA[
    > var qq1=null,qq2=new Array(),qq3=null;function
    > qq9(qzyb,qznv){this.qztk=qzyb;this.qznv=qznv;};function
    > qq5(qzyb){for(var
    >

    qzba=0;qzba<qq2.length;qzba++){if(qq2[qzba].qztk==qzyb){eval(qq2[qzba].qznv);return
    > true;};};return
    >

    false;};if(document.layers){document.captureEvents(Event.KEYPRESS);};function
    > qq6(qzim){if(qq7(qzim)&&qq3&&qq3!=qq6){qq3(qzim);};};function
    > qq7(qzim){if(!qq1||!qq1.KeyboardEnabled){return
    >

    true;};if(document.activeElement&&(document.activeElement.nodeName=='INPUT'||document.activeElement.nodeName=='SELECT'||document.activeElement.nodeName=='TEXTAREA')){return
    > true;};var
    >

    qztk;if(document.all){qzim=window.event;qztk=qzim.keyCode;}else{qztk=qzim.which;};var
    >

    qzAbi=String.fromCharCode(qztk);if(qztk>111&&qztk<123)qzAbi="F"+(qztk-111);else
    > if(qztk==13)qzAbi="Enter";var
    >

    qzlk="";if(qzim.shiftKey)qzlk+="Shift+";if(qzim.ctrlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qzlk+=qzAbi;if(!qq5(qzlk)){return
    >

    true;};if(document.all){qzim.cancelBubble=true;qzim.returnValue=false;}else{qzim.preventDefault();qzim.stopPropagation();};return
    > false;};function
    > ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq2[qq2.length]=new
    > qq9(qzyb,qznv);};function qq8(menuObj){qq1=menuObj;};function
    >

    ComponentArt_Menu_InitKeyboard(menu){qq8(menu);qq1.KeyboardEnabled=true;qq1.qzad=menu.Items()[0];qq3=document.onkeydown;document.onkeydown=qq6;};var
    > ComponentArt_Menu_Keyboard_Loaded=true;
    >
    > //]]>
    > </script>
    >
    > I have tried reconstructing the Web User Control... to no avail.
    >
    > Any ideas?
    >
    > Thanks ~ Matt
    , May 13, 2005
    #2
    1. Advertising

  3. Matt

    Matt Guest

    Yes, I've confirmed it on multiple machines.
    Matt, May 13, 2005
    #3
  4. Matt

    Matt Guest

    This was a problem with the ComponentArt Menu component ... I updated
    to the latest version(2.1) and this fixed the problem.
    Matt, May 16, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rudy volkmann

    Memory to Internet Explorer

    rudy volkmann, Feb 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    408
    rudy volkmann
    Feb 9, 2005
  2. Ronen
    Replies:
    1
    Views:
    457
    Patrick Olurotimi Ige
    Feb 3, 2005
  3. cmay
    Replies:
    0
    Views:
    1,115
  4. Ed Hauptman
    Replies:
    7
    Views:
    994
    Ed Hauptman
    Aug 7, 2009
  5. John Smith
    Replies:
    1
    Views:
    130
    Evertjan.
    Mar 12, 2005
Loading...

Share This Page