IndexOutOfRangeException in ~/Setup/Default.aspx

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/15/2015 1:40:20 PM
Gravatar
Total Posts 2

IndexOutOfRangeException in ~/Setup/Default.aspx

Hi there!

I'm trying to deploy MojoPortal 2.4.0.8 (PostgreSQL) to a Windows 8.1 box running .NET 4.5. The ~/Setup/Default.aspx page executes up to the part where it starts configuring the features. It first says: 

Configuring feature Html Content - 00:00:03.3192027

and then it throws an IndexOutOfBoundsException with the folowing message:


An Error Occurred:Index was outside the bounds of the array.
Source:mojoPortal.Data
Stack Trace at mojoPortal.Data.DBModuleDefinition.AddModuleDefinition(Guid featureGuid, Int32 siteId, String featureName, String controlSrc, Int32 sortOrder, Int32 defaultCacheTime, String icon, Boolean isAdmin, String resourceFile, Boolean isCacheable, Boolean isSearchable, String searchListName, Boolean supportsPageReuse, String deleteProvider, String partialView) at mojoPortal.Business.ModuleDefinition.Create() at mojoPortal.Web.UI.Pages.SetupHome.SetupFeature(ContentFeature feature) at mojoPortal.Web.UI.Pages.SetupHome.SetupFeatures(String applicationName) at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

This is just a testing machine, but production server where it'll eventually end up has similar features (Server 2012)

Any insights will be very much appreciated. Thanks in advance.

 

1/15/2015 1:52:44 PM
Gravatar
Total Posts 18439

Re: IndexOutOfRangeException in ~/Setup/Default.aspx

Hi,

I have just uploaded a patched version of our pgsql package to fix this error. If you download it again, the only changed file is mojoPortal.Data.dll in the /bin folder

Thanks,

Joe

1/15/2015 3:03:59 PM
Gravatar
Total Posts 2

Re: IndexOutOfRangeException in ~/Setup/Default.aspx

Thanx a lot!!!

We love MojoPortal here at CUJAE University, Havana, BTW!!!

Wish you all the best.

Sergio.

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