重定向 URI 不能包含换行符
重定向 URI 不能包含换行符。说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.ArgumentException: 重定向 URI 不能包含换行符。
源错误:
行 93:
行 94: //转向错误报告页面
行 95: Response.Redirect(redirUrl, false);
行 96: }
行 97: }
源文件: d:\sky\Thinke\project\HongTai\Website\page\baseInfo\UnitGroup\UnitGroupAddNew.aspx.cs 行: 95
堆栈跟踪:
[ArgumentException: 重定向 URI 不能包含换行符。]
System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +531
page_baseInfo_UnitGroupAddNew.btnOk_Click(Object sender, EventArgs e) in d:\sky\Thinke\project\HongTai\Website\page\baseInfo\UnitGroup\UnitGroupAddNew.aspx.cs:95
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4886
--------------------编程问答-------------------- 源码呢.. --------------------编程问答-------------------- Response.Redirect(@"");
redirUrl值
补充:.NET技术 , C#