Exception in ModuleSettings using SQLite

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.
5/13/2012 10:09:19 PM
Gravatar
Total Posts 3

Exception in ModuleSettings using SQLite

I got an error when I try to edit the settings for a content instance. I tested this on:

  • Windows XP 32-Bits and Windows 7 Ultimate 64-Bits (IIS 6)
  • SQLite
  • Version 2.3.8.5

To produce the problem you need a fresh install of mojoportal

Then, try to edit the settings for the content instance located at home page.
http://localhost/mojoportal/Web/Admin/ModuleSettings.aspx?mid=1&pageid=1

And you will get something like this:

System.IndexOutOfRangeException

Source: C:\Inetpub\wwwroot\mojoportal\Web\Admin\ModuleSettings.aspx.cs    Line: 311

Mono.Data.Sqlite.SqliteDataReader.GetSqliteType(Int32 i) in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteDataReader.cs:1024
Mono.Data.Sqlite.SqliteDataReader.GetValue(Int32 i) in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteDataReader.cs:872
Mono.Data.Sqlite.SqliteDataReader.get_Item(String name) in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteDataReader.cs:1077
mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateRoleList() in C:\Inetpub\wwwroot\mojoportal\Web\Admin\ModuleSettings.aspx.cs:311
mojoPortal.Web.AdminUI.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\mojoportal\Web\Admin\ModuleSettings.aspx.cs:135
System.Web.UI.Control.OnLoad(EventArgs e) +91
mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) in C:\Inetpub\wwwroot\mojoportal\Web\Components\mojoBasePage.cs:832
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

 

5/14/2012 7:19:07 AM
Gravatar
Total Posts 18439

Re: Exception in ModuleSettings using SQLite

Hi,

Thanks for the bug report. I've fixed this and patched the 2.3.8.5 release. If you download it again the only file that changed is /bin/mojoPortal.Data.dll

Best,

Joe

5/15/2012 6:43:41 PM
Gravatar
Total Posts 3

Re: Exception in ModuleSettings using SQLite

It works!! Thank you Risa

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