469,286 Members | 2,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

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

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;};fun ction 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.active Element.nodeName=='INPUT'||document.activeElement. nodeName=='SELECT'||document.activeElement.nodeNam e=='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.ct rlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qz lk+=qzAbi;if(!qq5(qzlk)){return
true;};if(document.all){qzim.cancelBubble=true;qzi m.returnValue=false;}else{qzim.preventDefault();qz im.stopPropagation();};return
false;};function
ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq 2[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;};v ar
ComponentArt_Menu_Keyboard_Loaded=true;

//]]>
</script>

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

Any ideas?

Thanks ~ Matt
Jul 21 '05 #1
2 13028
This error is specific to the control you are using from, "ComponentArts". Standard .NET web controls do not emit the scripting
that you have submitted. Contact the component vendor for more information.

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Matt Morgan" <Ma********@discussions.microsoft.com> wrote in message news:22**********************************@microsof t.com...
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;};fun ction 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.active Element.nodeName=='INPUT'||document.activeElement. nodeName=='SELECT'||document.activeElement.nodeNam e=='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.ct rlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qz lk+=qzAbi;if(!qq5(qzlk)){return
true;};if(document.all){qzim.cancelBubble=true;qzi m.returnValue=false;}else{qzim.preventDefault();qz im.stopPropagation();};return
false;};function
ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq 2[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;};v ar
ComponentArt_Menu_Keyboard_Loaded=true;

//]]>
</script>

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

Any ideas?

Thanks ~ Matt

Jul 21 '05 #2
I updated to the latest version of the ComponentArt Menu control and
this fixed the problem.

Thanks! ~ Matt

"Dave" wrote:
This error is specific to the control you are using from, "ComponentArts". Standard .NET web controls do not emit the scripting
that you have submitted. Contact the component vendor for more information.

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Matt Morgan" <Ma********@discussions.microsoft.com> wrote in message news:22**********************************@microsof t.com...
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;};fun ction 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.active Element.nodeName=='INPUT'||document.activeElement. nodeName=='SELECT'||document.activeElement.nodeNam e=='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.ct rlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qz lk+=qzAbi;if(!qq5(qzlk)){return
true;};if(document.all){qzim.cancelBubble=true;qzi m.returnValue=false;}else{qzim.preventDefault();qz im.stopPropagation();};return
false;};function
ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq 2[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;};v ar
ComponentArt_Menu_Keyboard_Loaded=true;

//]]>
</script>

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

Any ideas?

Thanks ~ Matt


Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Harsha | last post: by
6 posts views Thread by Ganesan selvaraj | last post: by
2 posts views Thread by CathieC | last post: by
2 posts views Thread by m0nkeymafia | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.