Lost edit ability in certain modules

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.

This thread is closed to new posts. You must sign in to post in the forums.
9/1/2011 3:50:37 AM
Gravatar
Total Posts 116

Lost edit ability in certain modules

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

9/1/2011 4:01:57 AM
Gravatar
Total Posts 355

Re: Lost edit ability in certain modules

Andrew,

Do you get the same error on all admin logins, or just yours?

9/1/2011 4:41:38 AM
Gravatar
Total Posts 116

Re: Lost edit ability in certain modules

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.

9/1/2011 5:27:21 AM
Gravatar
Total Posts 355

Re: Lost edit ability in certain modules

Do you get the same error when you click the wrench icon?

9/1/2011 5:36:41 AM
Gravatar
Total Posts 116

Re: Lost edit ability in certain modules

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.....??

9/1/2011 5:44:09 AM
Gravatar
Total Posts 355

Re: Lost edit ability in certain modules

Have you double-checked the security settings, to confirm which groups are allowed to edit that module?

9/1/2011 5:49:51 AM
Gravatar
Total Posts 116

Re: Lost edit ability in certain modules

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?

9/1/2011 5:53:39 AM
Gravatar
Total Posts 355

Re: Lost edit ability in certain modules

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.  

9/1/2011 6:00:04 AM
Gravatar
Total Posts 116

Re: Lost edit ability in certain modules

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

9/1/2011 6:14:57 AM
Gravatar
Total Posts 355

Re: Lost edit ability in certain modules

Do you have a recent backup to compare DB settings for those feature instances, or your user rights?

9/1/2011 7:27:13 AM
Gravatar
Total Posts 116

Re: Lost edit ability in certain modules

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?

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