关于网站打开连接时出现 “⼀”应用程序中的服务器错误。

出现如下信息,我也看不明白,有知道的朋友帮我看看是什么原因。重定向 URI 不能包含换行符。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 重定向 URI 不能包含换行符。源错误: 行 84: if (!string.IsNullOrEmpty(redirectLink))行 85: {行 86: Response.Redirect(redirectLink);行 87: }行 88: //NewsCatalogInfo info = null;源文件: d:尀SooyieSite尀SxjstZ尀Web尀NewsRead.aspx.cs 行: 86 堆栈跟踪: [ArgumentException: 重定向 URI 不能包含换行符。] System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +8707641 System.Web.HttpResponse.Redirect(String url) +6 NewsRead.Page_Load(Object sender, EventArgs e) in d:尀SooyieSite尀SxjstZ尀Web尀NewsRead.aspx.cs:86 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627--------------------------------------------------------------------------------版本信息: Microsoft .NET Framework 版本:2.0.50727.3603; ASP.NET 版本:2.0.50727.3082
2026年09月27日 07:37
有1个网友回答
网友(1):

服务器的问题跟你没关系