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

引发类型为“System.OutOfMemoryException”的异常。

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

异常详细信息: System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。

源错误:


行 190:        string columid = "71";
行 191:        string sdate="",isdel="0";
行 192:       System.Data.DataTable table = Whir.Repository.DbHelper.CurrentDb.Query("select AccessTime from Whir_U_UsersIp").Tables[0];
行 193:        if(table.Rows.Count>0)
行 194:        {

源文件: d:\ISHWEBNEW\Global.asax    行: 192

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.String.InternalSubString(Int32 startIndex, Int32 length) +29
   System.String.Substring(Int32 startIndex, Int32 length) +67
   System.Text.RegularExpressions.RegexCharClass.ParseRecursive(String charClass, Int32 start) +313
   System.Text.RegularExpressions.RegexFCD.CalculateFC(Int32 NodeType, RegexNode node, Int32 CurIndex) +506
   System.Text.RegularExpressions.RegexFCD.RegexFCFromRegexTree(RegexTree tree) +138
   System.Text.RegularExpressions.RegexFCD.FirstChars(RegexTree t) +38
   System.Text.RegularExpressions.RegexWriter.RegexCodeFromRegexTree(RegexTree tree) +498
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +501
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options) +54
   Whir.Repository.Database..ctor(String connectionStringName) +152
   Whir.Repository.DbHelper.get_CurrentDb() +337
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\ISHWEBNEW\Global.asax:192
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +10081708
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +165
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1126
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +297
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


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