“/”应用程序中的服务器错误。

值不能为空。
参数名: input

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentNullException: 值不能为空。
参数名: input

源错误:


行 322:            Match match = null;
行 323:            regex = new Regex(@"<\/?[^>]*>?", RegexOptions.IgnoreCase);
行 324:            for (match = regex.Match(strHtml); match.Success; match = match.NextMatch())
行 325:            {
行 326:                strHtml = strHtml.Replace(match.Groups[0].ToString(), "");

源文件: d:\网站\常州乔泰\cn\App_Code\baseclass\pagebase.cs    行: 324

堆栈跟踪:


[ArgumentNullException: 值不能为空。
参数名: input]
   System.Text.RegularExpressions.Regex.Match(String input) +156
   pagebase.ClearHtml(String strHtml) in d:\网站\常州乔泰\cn\App_Code\baseclass\pagebase.cs:324
   tempinc.htmlcode(String str) in d:\网站\常州乔泰\cn\App_Code\baseclass\tempinc.cs:642
   tempinc.GetTemplate(String pathName) in d:\网站\常州乔泰\cn\App_Code\baseclass\tempinc.cs:37
   product.Page_Load(Object sender, EventArgs e) in d:\网站\常州乔泰\cn\product.aspx.cs:18
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +137
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2524


版本信息: Microsoft .NET Framework 版本:2.0.50727.8800; ASP.NET 版本:2.0.50727.8762