为什么我的asp.net应用程序抛出ThreadAbortException? [英] Why is my asp.net application throwing ThreadAbortException?

查看:160
本文介绍了为什么我的asp.net应用程序抛出ThreadAbortException?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

言自明的问题。

为什么这个东西泡到我尝试捕捉的,即使没有什么是错的?

Why does this thing bubble into my try catch's even when nothing is wrong?

为什么没有显示在我的日志,轻车熟路?

Why is it showing up in my log, hundreds of times?

我知道它对于新手的问题,但如果这个网站会得到搜索排名,并绘制newbs我们要问他们

推荐答案

这可能是从Response.Redirect的电话来了。检查此链接为一个解释:

This is probably coming from a Response.Redirect call. Check this link for an explanation:

<一个href=\"http://dotnet.org.za/armand/archive/2004/11/16/7088.aspx\">http://dotnet.org.za/armand/archive/2004/11/16/7088.aspx

(在大多数情况下,调用的Response.Redirect(网址,FALSE)解决了这个问题)

(In most cases, calling Response.Redirect(url, false) fixes the problem)

这篇关于为什么我的asp.net应用程序抛出ThreadAbortException?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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