Error in module settings with sqlite 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.
2/14/2011 3:44:47 AM
Gravatar
Total Posts 2

Error in module settings with sqlite version

hi,

every time I want to change a module setting I get the following error:

2011-02-14 10:27:38,411 ERROR mojoPortal.Web.Global - 10.XX.XX.XX-en-US - /mojo/Admin/ModuleSettings.aspx?mid=44&pageid=2
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Mono.Data.Sqlite.SqliteDataReader.GetSqliteType(Int32 i)
   at Mono.Data.Sqlite.SqliteDataReader.GetValue(Int32 i)
   at Mono.Data.Sqlite.SqliteDataReader.get_Item(String name)
   at mojoPortal.Business.Module.PopulateFromReader(IDataReader reader)
   at mojoPortal.Business.Module.GetModule(Int32 moduleId, Int32 pageId)
   at mojoPortal.Business.Module..ctor(Int32 moduleId, Int32 pageId)
   at mojoPortal.Web.AdminUI.ModuleSettingsPage.LoadSettings()
   at mojoPortal.Web.AdminUI.ModuleSettingsPage.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)I downloaded the latest

Here is my environment:

- fresh installation of mojoportal sqlite version (mojoportal-2-3-6-2-sqlite-net35-deploymentfiles.zip), no changes in *.config (I only added write permissions for the webserver user on Data and App_data)

- Windows Server 2008 Enterprise / IIS7

It seems that the error doesn't depend on the module, I tried HTML Content, Image Gallery and Google Maps. Everything else seems to work so far, so is there a problem with the sqlite version (I didn't try other versions) ?

thx

2/14/2011 10:38:08 AM
Gravatar
Total Posts 18439

Re: Error in module settings with sqlite version

Hi,

Thanks for the bug report. I've patched the sqlite packages for the 2.3.6.2 release with a fix. The only file that changed is /bin/mojoPortal.Data.dll

If you replace that file with the new version the problem should be fixed.

Best,

Joe

2/14/2011 12:26:14 PM
Gravatar
Total Posts 2

Re: Error in module settings with sqlite version

I replaced mojoPortal.Data.dll with the new one and it works now!

thanks for the fast fix,

Andreas

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