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

正在分析“/([a-zA-Z0-9_/]+)).html”- ) 过多。

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

异常详细信息: System.ArgumentException: 正在分析“/([a-zA-Z0-9_/]+)).html”- ) 过多。

源错误:


行 20:     void Application_BeginRequest(object sender, EventArgs e)
行 21:     {
行 22:         webSite.getHTML(new tmp());
行 23:     }
行 24: 

源文件: d:\website\nnbh\Global.asax    行: 22

堆栈跟踪:


[ArgumentException: 正在分析“/([a-zA-Z0-9_/]+)).html”- ) 过多。]
   System.Text.RegularExpressions.RegexParser.ScanRegex() +6722411
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +98
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +416
   System.Text.RegularExpressions.Regex..ctor(String pattern) +51
   webSite.getHTML(Object tmp) +2508
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\website\nnbh\Global.asax:22
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3770.0