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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi Mojo gurus,
above all many thanks for your great project.
I am experiencing this annoying exception problem trying to use the blog module (I have upgraded some days ago from 2.3.7.x, but I am trying the blog only now).
Here is system information and the stack trace logged in the event log:
System information mojoPortal Version 2.3.9.7 SQLite Operating System Microsoft Windows NT 5.2.3790 Service Pack 2 ASP.NET Infov4.0.30319 Running in Full Trust
Stack trace in event log
Event code: 3005 Event message: An unhandled exception has occurred. Event time (UTC): 05/07/2013 21.22.46 Event ID: 5917f173757b4d69a9c7d602c1de8f3e Event sequence: 9 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1722088333/Root-1-130175328556153184 Trust level: Full Application Virtual Path: / Application Path: ******** Machine name: ********* Process information: Process ID: 4368 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: IndexOutOfRangeException Exception message: 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)
Request information: Request URL: http://www.******.***/Admin/ModuleSettings.aspx?mid=178&pageid=110 Request path: /Admin/ModuleSettings.aspx User host address: *.*.*.* User: ************ Is authenticated: True Authentication Type: Forms Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: 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)
Hi,
I just sent you an email with a patched version of mojoPortal.Data.dll, can you confirm that it fixes the problem?
Thanks,
Joe
Well done Joe!
Now it's working fine.
Out of curiosity, what was the problem, and where can I find the source code of your patch ?
Thanks again,
M.
You can view the changeset here, it was missing a field in a couple of select statements