BUG: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
2006-06-12 23:20
567 查看
代码:
if (_inputValues.Count > 0)
{
DABusiness.MemberFltUserInfo.Save_UserInfo(_inputValues);
Response.Redirect("~/SelectPassengerInfo.aspx");
}
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
<-- this error is usually only caused if your response.redirect is in a file that is in a frame. Seems response.redirect doesn't work with frames
resolvent:
response.redirect("nextpage.aspx",false);
worked for me.
reference:
http://support.microsoft.com/kb/312629/EN-US/
I have just run into this error, using a Response.Redirect().
I have got past the error, by running a Response.Clear() before the Redirect, perhaps you can do something similar with the Server.Transfer, or use the Response.Clear(), Redirect combination.
if (_inputValues.Count > 0)
{
DABusiness.MemberFltUserInfo.Save_UserInfo(_inputValues);
Response.Redirect("~/SelectPassengerInfo.aspx");
}
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
<-- this error is usually only caused if your response.redirect is in a file that is in a frame. Seems response.redirect doesn't work with frames
resolvent:
response.redirect("nextpage.aspx",false);
worked for me.
reference:
http://support.microsoft.com/kb/312629/EN-US/
I have just run into this error, using a Response.Redirect().
I have got past the error, by running a Response.Clear() before the Redirect, perhaps you can do something similar with the Server.Transfer, or use the Response.Clear(), Redirect combination.
相关文章推荐
- Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
- Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
- 【随】Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack 问题解决。
- Response.Redirect出现Unable to evaluate expression because the code is optimized or a native frame……异常解决方法
- 解决:The virtual machine was unable to remove all stack frame runnning old code from the call stack.问题
- ASP.Net DebugError解决方案[转]:Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL serve
- Unable to get value of the property '2': object is null or undefined
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- Bug on Build Solution: "Unable to copy file... because it is being used by another process.."
- An error occurred during the execution of xp_cmdshell. A call to 'LogonUserW' failed with error code: '1385'
- [原]Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.
- Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled.
- Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to th
- 解决com.sun.tools.javac.Main is not on the classpath / Unable to find a javac compiler 的问题
- unable to find javac compiler;com.sun.tools.javac.Mainisnotontheclasspath的问题的解决
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.【转】
- 编译也许会遇到Unable to launch cygpath. Is Cygwin on the path?如何解决?
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser