无法评估EX pression因为code优化或本机框架是在调用堆栈的顶部 [英] Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

查看:124
本文介绍了无法评估EX pression因为code优化或本机框架是在调用堆栈的顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误:

无法评估EX pression因为code优化或本机框架调用堆栈的顶部。

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.

我在直放站的ItemCommand事件重定向到新的一页。发生在该行的错误:

I have redirected to a new page in repeater's itemcommand event. The error occurs at the line:

string url = "~/Galleries/AlbumImageList.aspx?UId=" + this.UserId.ToString() + "&AlbumId=" + e.CommandArgument.ToString();
Response.Redirect(url);

谁能帮帮我吗?是什么不对劲的地方? 该 _COMPlusException code 是 - 532459699

Can anybody please help me? Is anything wrong there? The _COMPlusExceptionCode is -532459699.

推荐答案

响应的第二个参数 ,如下图所示。

Response.Redirect(url,false);

这篇关于无法评估EX pression因为code优化或本机框架是在调用堆栈的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆