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

指定的参数已超出有效值的范围。
参数名: offset

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

异常详细信息: System.ArgumentOutOfRangeException: 指定的参数已超出有效值的范围。
参数名: offset

源错误:


行 25:         {
行 26:             HttpContext.Current.Response.Clear();
行 27:             HttpContext.Current.Response.BinaryWrite(get_data(data_url));
行 28:             HttpContext.Current.Response.End();
行 29:         }

源文件: d:\zkeys\enkjhost\mlrfid\wwwroot\Global.asax    行: 27

堆栈跟踪:


[ArgumentOutOfRangeException: 指定的参数已超出有效值的范围。
参数名: offset]
   System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count) +8882008
   System.Web.HttpResponse.BinaryWrite(Byte[] buffer) +27
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\zkeys\enkjhost\mlrfid\wwwroot\Global.asax:27
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8797232
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


版本信息: Microsoft .NET Framework 版本:2.0.50727.5420; ASP.NET 版本:2.0.50727.5420