Error when updating settings

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.
4/12/2011 6:08:02 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Error when updating settings

Hi guys

When I try and update any module settings on a certain I site I get:

 

Server Error in '/' Application.

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   mojoPortal.Web.TreeViewAdapter.ExpandToState(TreeNodeCollection nodes, String state) +274
   mojoPortal.Web.TreeViewAdapter.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +8686477
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

 

-- Any ideas pls?

Thanks

Mark

4/12/2011 9:59:44 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Error when updating settings

I had something like this happen recently on my development workstation. Try touching your web.config (add a space and save) and then re-visit the site to see if that helps.

Jamie

4/12/2011 10:07:10 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Sadly that didn't work - it's only cropped up recently and seemingly we've not amended anything.

Any other thoughts welcome :0)

4/12/2011 10:09:03 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Interestingly, the URL doesn't get past /Admin/PageTree.aspx when I hit Update / Save. Also, from Add/Edit Pages in Admin I can't select a page and then edit / view or edit settings without the same error...

4/12/2011 10:25:49 AM
Gravatar
Total Posts 2253

Re: Error when updating settings

Hi Mark,

What version of mojoPortal are you running? Is this one of the sites we setup a custom menu on?

Thanks,
Joe

4/12/2011 10:28:54 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi Joe

It's 2.3.6.1 and it's just using standard menu / child menu setup. it's the pest one we've spoken about before.

Thanks

Mark

4/12/2011 11:03:53 AM
Gravatar
Total Posts 2253

Re: Error when updating settings

Hi Mark,

There have been a lot of changes to the "plumbing" for the menus in mojoPortal since 2.3.6.1. Are you able to upgrade your site to the latest version (2.3.6.4) and see if the problem persists?

Does this happen on every module on the site or just select ones? If not on every module, is it only on those that use a ModuleWrapper?

Thanks,
Joe D.

4/12/2011 11:05:59 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Cheers Joe, downloading as we speak.

It's actually on pages, not modules which is odd....

4/13/2011 4:43:41 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi all

Upgraded to the latest version but still getting the error - any thoughts?

Thanks

Mark

4/13/2011 5:58:34 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

Hi Mark,

you're saying this happens only on the ModuleSettings.aspx page when you save settings?

if you change the skin to one of the skins we ship does the problem still happen?

Best,

Joe

4/13/2011 6:06:12 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi Joe

I've just tried that and actually get the same error when trying to update any settings at all - i.e. can't change the skin.

I can update / add / edit content though and the site was working as we were able to entirely configure it.

Thanks

Mark

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