Error in module settings with 2-3-7-0-sqlite-net40 version

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.
10/2/2011 12:30:19 PM
Gravatar
Total Posts 1

Error in module settings with 2-3-7-0-sqlite-net40 version

I have this problem for every function of setting:

Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[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.Business.Module.PopulateFromReader(IDataReader reader) +1075
   mojoPortal.Business.Module.GetModule(Int32 moduleId, Int32 pageId) +56
   mojoPortal.Business.Module..ctor(Int32 moduleId, Int32 pageId) +294
   mojoPortal.Web.AdminUI.ModuleSettingsPage.LoadSettings() +969
   mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e) +272
   System.Web.UI.Control.InitRecursive(Control namingContainer) +393
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1579
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1


Windows XP - IIS 5.1 and Windows 7 IIS 7

Mojoportal extracted from mojoportal-2-3-7-0-sqlite-net40-deploymentfiles.zip

Thanks

10/2/2011 1:31:25 PM
Gravatar
Total Posts 18439

Re: Error in module settings with 2-3-7-0-sqlite-net40 version

Hi Fabrini,

Thanks for letting me know. I have fixed this and updated the packages for Sqlite. If you download it again, the omnly file you need to replace is /bin/mojoPortal.Data.dll

It should fix the problem.

Best,

Joe

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