MemberList.aspx - mojoPortal.Web.Global System.IndexOutOfRangeException: TotalPages

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/15/2012 9:41:47 AM
Gravatar
Total Posts 2

MemberList.aspx - mojoPortal.Web.Global System.IndexOutOfRangeException: TotalPages

When I try to access the MemberList.aspx page from anywhere as Admin or authenticated user I get an error:

2012-06-15 09:54:44,348 ERROR 72.43.48.74 - en-US - /EPIntranet/MemberList.aspx - mojoPortal.Web.Global -  Gecko) Chrome/20.0.1096.1 Safari/536.6
System.IndexOutOfRangeException: TotalPages
   at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
   at System.Data.SqlClient.SqlDataReader.get_Item(String name)
   at mojoPortal.Business.SiteUser.GetPage(Int32 siteId, Int32 pageNumber, Int32 pageSize, String userNameBeginsWith, Int32& totalPages)
   at mojoPortal.Web.UI.Pages.MemberList.BindAlphaList()
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Has anyone seen this?

6/15/2012 9:52:24 AM
Gravatar
Total Posts 18439

Re: MemberList.aspx - mojoPortal.Web.Global System.IndexOutOfRangeException: TotalPages

Are you working with the latest source code? If so make sure you rebuild the solution and visit /Setup/Default.aspx

6/15/2012 10:09:41 AM
Gravatar
Total Posts 2

Re: MemberList.aspx - mojoPortal.Web.Global System.IndexOutOfRangeException: TotalPages

I set up the site using the mojoportal-2-3-8-5-mssql-net40-deploymentfiles.zip package.

I re-ran the setup and this is the message at the bottom:

Setup is complete, click the link below to go to the home page.


Database Platform MSSQL

Version 2.3.8.5

Status You need to upgrade the Web Site and Database Code to the same version as the Database Schema.

Is there a sql script that I can run to fix this?

Thanks

 

6/15/2012 12:43:23 PM
Gravatar
Total Posts 18439

Re: MemberList.aspx - mojoPortal.Web.Global System.IndexOutOfRangeException: TotalPages

Was this an upgrade? There are no missing scripts in the package but this error indicates script(s) are missing on your installation, it knows it needs to run more scripts but they don't exist on disk.

I would upload the /Setup folder again and re-visit the /Setup/Default.aspx page

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.