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

manbetx体育软件下载_万博manbetx官网手机版下载_万博bet - 指定的参数已超出有效值的范围。
参数名: PageIndex cannot be below 0.

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

异常详细信息: System.ArgumentOutOfRangeException: manbetx体育软件下载_万博manbetx官网手机版下载_万博bet - 指定的参数已超出有效值的范围。
参数名: PageIndex cannot be below 0.

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[ArgumentOutOfRangeException: 指定的参数已超出有效值的范围。
参数名: PageIndex cannot be below 0.]
   yan.func.zhzf.PagedList`1.Initialize(IQueryable`1 source, Int32 index, Int32 pageSize, Nullable`1 totalCount) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\yan.func\zhzf\PagedList.cs:51
   yan.func.zhzf.PagedList`1..ctor(IQueryable`1 source, Int32 index, Int32 pageSize, Nullable`1 totalCount) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\yan.func\zhzf\PagedList.cs:27
   yan.func.zhzf.PagedList`1..ctor(IQueryable`1 source, Int32 index, Int32 pageSize) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\yan.func\zhzf\PagedList.cs:20
   yan.func.zhzf.PagingExtensions.ToPagedList(IQueryable`1 source, Int32 pageIndex, Int32 pageSize) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\yan.func\zhzf\PagingExtensions.cs:63
   syty.Models.ListPage..ctor(Int32 id, Int32 page) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\syty\Models\ListPage.cs:25
   syty.Controllers.HomeController.news(Nullable`1 id, Nullable`1 page) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\xmyy\syty\Controllers\HomeController.cs:56
   lambda_method(ExecutionScope , ControllerBase , Object[] ) +115
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +251
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +31
   System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +534
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +312
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +694
   System.Web.Mvc.Controller.ExecuteCore() +136
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +51
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +77
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +39
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +454
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263


版本信息: Microsoft .NET Framework 版本:2.0.50727.8810; ASP.NET 版本:2.0.50727.8745