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

引发类型为“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.Reflection.Emit.ILGenerator.EnlargeArray(__FixupData[] incoming) +24
   System.Reflection.Emit.ILGenerator.AddFixup(Label lbl, Int32 pos, Int32 instSize) +127
   System.Reflection.Emit.ILGenerator.Emit(OpCode opcode, Label label) +112
   System.Text.RegularExpressions.RegexCompiler.BneFar(Label l) +72
   System.Text.RegularExpressions.RegexCompiler.GenerateOneCode() +5852
   System.Text.RegularExpressions.RegexCompiler.GenerateForwardSection() +537
   System.Text.RegularExpressions.RegexCompiler.GenerateGo() +286
   System.Text.RegularExpressions.RegexLWCGCompiler.FactoryInstanceFromCode(RegexCode code, RegexOptions options) +226
   System.Text.RegularExpressions.RegexCompiler.Compile(RegexCode code, RegexOptions options) +128
   System.Text.RegularExpressions.Regex.Compile(RegexCode code, RegexOptions roptions) +15
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +633
   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