Problem upgrading from 2.3.6.4 to 2.3.8.5

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/18/2012 2:55:49 PM
Gravatar
Total Posts 10
Marco Minerva [MCPD]

Problem upgrading from 2.3.6.4 to 2.3.8.5

Hi all!

I'm trying to update my mojoPortal installation from version 2.3.6.4, with .NET 3.5 & SQLite, to version .NET 4.0 & SQLite.

Apparently, the update process of database has correctly completed. However, if I try to create a new page, or change page/module settings, I always obtain this error message:

[IndexOutOfRangeException: Index was outside the bounds of the array.]
   Mono.Data.Sqlite.SqliteDataReader.GetSqliteType(Int32 i) +194
   Mono.Data.Sqlite.SqliteDataReader.GetValue(Int32 i) +38
   Mono.Data.Sqlite.SqliteDataReader.get_Item(String name) +27
   mojoPortal.Web.AdminUI.PageProperties.BindRoles(PageSettings pageSettings) +366
   mojoPortal.Web.AdminUI.PageProperties.PopulateControls() +3000
   mojoPortal.Web.AdminUI.PageProperties.Page_Load(Object sender, EventArgs e) +1262
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +14
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Could you help me with this issue?

Thank you in advance.

6/18/2012 8:41:43 PM
Gravatar
Total Posts 38

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

How did you upgrade ? Steps ?

6/19/2012 2:25:48 AM
Gravatar
Total Posts 10
Marco Minerva [MCPD]

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

I have extracted all files of 2.3.8.5 version to a new folder, then I have copied the content of Data/1/Sites and user.config from the old site, and finally I have replaced the mojodb.config.

After that, I have opened Internet Explorer and I have navigated to the new installation: the setup have started the upgrade process, running all the necessary scripts and telling that everything was correct.

6/19/2012 6:31:39 AM
Gravatar
Total Posts 18439

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

HI,

When did you download the mojoPortal 2.3.8.5 package for SQLite?

I patched that package on 2012-05-14 to fix a problem in the data layer for SQLite. Please try downloading it again and replace only the mojoPortal.Data.dll file in the /bin folder

I'm not currently able to produce that error so I think it was fixed already.

Hope that helps,

Joe

6/19/2012 7:55:24 AM
Gravatar
Total Posts 10
Marco Minerva [MCPD]

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

Unfortunately, I downloaded the package yesterday, using this link: http://mojoportal.codeplex.com/downloads/get/369371.

6/19/2012 8:43:23 AM
Gravatar
Total Posts 18439

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

Hi,

Ok, I figured out what happened. When I patched the package locally I renamed the original package on my machine and created new package but then apparently I made a mistake and uploaded the old package instead of the new ones. I'm uploading the correct ones now, it will take a little while because I'm on  slow connection at the moment. Wait a little while and then when you see todays date on the package on codeplex, download it again and replace the mojoPortal.Data.dll. It will fix the problem.

Sorry for the inconvenience.

Best,

Joe

6/19/2012 8:59:02 AM
Gravatar
Total Posts 10
Marco Minerva [MCPD]

Re: Problem upgrading from 2.3.6.4 to 2.3.8.5

No problem, thank you for the support!

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