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

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

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

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

源错误:


行 176:    private void Session_Start(object sender, EventArgs e)
行 177:    {
行 178:        string idadress = Request.ServerVariables["REMOTE_ADDR"];
行 179:        string str;
行 180:        if (Request.UrlReferrer==null)

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

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.Text.StringBuilder.ToString() +36
   System.Web.HttpRequest.CombineAllHeaders(Boolean asRaw) +375
   System.Web.HttpRequest.FillInServerVariablesCollection() +63
   System.Web.HttpServerVarsCollection.Populate() +67
   System.Web.HttpServerVarsCollection.Get(String name) +40
   System.Collections.Specialized.NameValueCollection.get_Item(String name) +12
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\ISHWEBNEW\Global.asax:178
   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