0
我正在接管现有网站,并试图让应用程序在我的计算机上运行,但由于出现以下错误,我无法启动应用程序。system.threading .threadAbortException错误
System.Threading.ThreadAbortException occurred
HResult=0x80131530
Message=Thread was being aborted.
Source=mscorlib
StackTrace:
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
这是我的代码
protected void Application_BeginRequest(object sender, EventArgs e) {
if (DemoWeb.Helpers.Application.ApplicationManager.StartUpError != "")
{
Response.Write("<div class=\"demoweb-securityerror\">" + demoweb.Helpers.Application.ApplicationManager.StartUpError + "</div>");
Response.End();
}
我怎样才能得到它绕过到Response.End?