Forum Error

Exception of type 'System.Web.HttpUnhandledException' was thrown.

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentOutOfRangeException: Page must be a number greater than 0.
Parameter name: page
   at YAF.Core.Extensions.SqlExpressionExtensions.Page[T](SqlExpression`1 expression, Nullable`1 page, Nullable`1 pageSize) in C:\Users\User\Desktop\Forum\YAFNET\YAF.Core\Extensions\SqlExpressionExtensions.cs:line 61
   at YAF.Core.Model.MessageRepositoryExtensions.<>c__DisplayClass5_0.<PostListPaged>b__2(IDbCommand db) in C:\Users\User\Desktop\Forum\YAFNET\YAF.Core\Model\MessageRepositoryExtensions.cs:line 275
   at YAF.Core.Data.DbAccessBase.Execute[T](Func`2 execFunc, IDbCommand cmd, IDbTransaction dbTransaction) in C:\Users\User\Desktop\Forum\YAFNET\YAF.Core\Data\DbAccessBase.cs:line 99
   at YAF.Core.Model.MessageRepositoryExtensions.PostListPaged(IRepository`1 repository, Int32 topicId, Int32 userId, Boolean updateViewCount, Boolean showDeleted, DateTime sincePostedDate, DateTime toPostedDate, Int32 pageIndex, Int32 pageSize, Int32 messagePosition) in C:\Users\User\Desktop\Forum\YAFNET\YAF.Core\Model\MessageRepositoryExtensions.cs:line 240
   at YAF.Pages.Posts.BindData()
   at YAF.Pages.Posts.Page_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.<LoadRecursiveAsync>d__246.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
   at System.Web.UI.Page.<ProcessRequestMainAsync>d__523.MoveNext()
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.<ProcessRequestMainAsync>d__523.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
   at System.Web.UI.Page.<ProcessRequestAsync>d__515.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Please contact the administrator if this message persists.

Try Again