简体   繁体   English

堆栈空间不足错误(堆栈溢出错误)

[英]Out of Stack Space Error (Stack Overflow Error)

In my website I am opening a New Window by clicking on a Image Linkbutton in the page before that the other Link buttons are working fine but After closing the newly opened window When I try to click the Link Buttons it throws the Out of Stack Space error in Webresource.axd file in 在我的网站上,通过单击页面中的“图像链接”按钮,我可以打开一个新窗口,然后其他链接按钮可以正常工作,但是在关闭新打开的窗口之后,当我尝试单击“链接”按钮时,它会抛出“栈外空间”错误在Webresource.axd文件中

function WebForm_SaveScrollPositionSubmit() {
if (__nonMSDOMBrowser) {
    theForm.elements['__SCROLLPOSITIONY'].value = window.pageYOffset;
    theForm.elements['__SCROLLPOSITIONX'].value = window.pageXOffset;
}
else {
    theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
    theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
}
if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
    return this.oldSubmit(); // Error thrown here
}
return true;

} }

Kindly any one point me what could be the Problem. 好的,有人指出我可能是问题所在。

This is the Screen shot of the Webresource.axd 这是Webresource.axd的屏幕截图

Edit: In the this.oldsubmitcode I am only getting the following methods 编辑:this.oldsubmitcode我仅获得以下方法

callBaseMethod() = callBaseMethod(a, d, b)
getBaseMethod() = getBaseMethod(a, b)
getBaseType() = getBaseType()
getInterfaces() = getInterfaces()
getName() = getName()
implementsInterface() = implementsInterface(d)
inheritsFrom() = inheritsFrom(b)
initializeBase() = initializeBase(a, b)
isImplementedBy() = isImplementedBy(a)
isInstanceOfType() = isInstanceOfType(a)
registerClass() = registerClass(c, b, d)
registerEnum() = registerEnum(b, c)
registerInterface() = registerInterface(a)
resolveInheritance() = resolveInheritance()

I had Found in this link Modal dialog boxes Stack Overflow Error that Opening More than one Modal dialog Box in Internet Explorer may cause Stack Overflow Error 我已在此链接中找到模态对话框堆栈溢出错误 ,在Internet Explorer中打开多个模态对话框可能会导致堆栈溢出错误

Probably this.oldSubmit is (directly or indirectly) recursively calling WebForm_SaveScrollPositionSubmit. 可能this.oldSubmit(直接或间接)递归调用WebForm_SaveScrollPositionSubmit。 Check the value of this.oldSubmit, and make sure the function it references is not recursively calling WebForm_SaveScrollPositionSubmit. 检查this.oldSubmit的值,并确保其引用的函数没有递归调用WebForm_SaveScrollPositionSubmit。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM