If you have questions about using mojoPortal, you can post them here.
You may want to first review our site administration documentation to see if your question is answered there.
I've had the site up and running for about 12 months and edit it weekly for our client. I finished editing a module a couple of nights ago but need to change it again, when I click the pencil icon I am redirected to the generic error page and the log says:
2011-09-01 09:42:43,414 ERROR mojoPortal.Web.Global - xx.xx.xx.xx-en-GB - /HtmlEdit.aspx?mid=2&pageid=2 System.IndexOutOfRangeException: LoginName at System.Data.SqlServerCe.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlServerCe.SqlCeDataReader.GetOrdinal(String name) at System.Data.SqlServerCe.SqlCeDataReader.get_Item(String name) at mojoPortal.Business.ContentHistory.LoadListFromReader(IDataReader reader) at mojoPortal.Web.ContentUI.EditHtml.BindHistory() at mojoPortal.Web.ContentUI.EditHtml.PopulateControls() at mojoPortal.Web.ContentUI.EditHtml.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I can now edit some modules but not a couple of others - I've rebooted the whole server thinking that would fix it but it hasn't worked - any ideas of what to try next??
System info is:
mojoPortal Version 2.3.5.5 SqlCe Operating System Microsoft Windows NT 5.2.3790 Service Pack 2 ASP.NET Info v4.0.30319 Running in Full Trust
Regards
Andrew
Andrew,
Do you get the same error on all admin logins, or just yours?
Hi,
There was only me as a user on the site but I've created another with Admin rights and I get the same error - strange there are 2 html modules on the same page, I can change one but not the other?
Login error is the same as above for the other user.
Do you get the same error when you click the wrench icon?
No the wrench icon works fine and I can change settings in there and save - just can't get to the html edit for that module.....??
Have you double-checked the security settings, to confirm which groups are allowed to edit that module?
Well that's the strange thing, I did check and non were selected so I thought it must be that and added admin etc. to the edit rights but when I checked the other module on that page non of those were selected either....... if I do change security rights to I have to recycle the app pool or touch the web.config file before they are applied?
By default, if none are selected, then edit rights are limited to administrator group. This is acting a bit weird, so save the setting, re-cycle the app pool, and see if that's done it.
It is a bit weird isn't it and I'm at a bit of loss of how to sort it and can only change about half of the site at the mo....
Tried recycling it and it after changing settings and it hasn't made any difference - strange and frustrating! lol
Do you have a recent backup to compare DB settings for those feature instances, or your user rights?
Thanks for your continued assistance, I don't have a backup of the DB but I've downloaded the SQLCE database and am just installing webmatrix so I can take a look at the existing DB and see if I can spot anything there, if not I might be able to get a copy from my webhost company to look at.
The error started straight after I had changed something in that module. I wanted to copy something from another module so I opened that in error mode, went to html and copied what I wanted then clicked straight to the other page via the menu - I didn't update/cancel in the page I copied from and wonder if it somehow locked something open?