Error creating content block on page

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.
4/13/2011 1:46:23 PM
Nux
Gravatar
Total Posts 183

Error creating content block on page

Hi,

I've got my real first problem since I started using mojoportal in 2008 (that is good news, but the problem is a pain in the ...).

First, the data:

OS: Windows Server 2003
DB: MSSQL 2005
Version: first 2.3.6.2, now .4
Well, the problem occurred when my client made a new page and wanted to add a html content block. I found this in the logging:

/Admin/PageLayout.aspx?pageid=25
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at mojoPortal.Web.TreeViewAdapter.ExpandToState(TreeNodeCollection nodes, String state)
   at mojoPortal.Web.TreeViewAdapter.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I thought, ok, let me try this, but I got the same. I deleted the page, created a new one with the same name/url, try to add a content block and bam.
Since I can't make anything from the log, I updated the site first to the latest version, but I got the same.

But since my client needs to go on, I created a content block on another page (yes, that worked) and I moved it to the page with the content manager. And strangely, after that, the problem was gone.

Does anyone has any idea why this happened?

Thanks
Stefaan

 

4/13/2011 2:04:19 PM
Gravatar
Total Posts 18439

Re: Error creating content block on page

Hi Stefaan,

See this thread. Hope the same solution works for you.

Best,

Joe

4/13/2011 2:19:59 PM
Nux
Gravatar
Total Posts 183

Re: Error creating content block on page

Joe,

thanks for your quick answer.
I will keep it in mind, since I can not reproduce the error anymore sad.

I tried it again, creating new page, add content to it and it all worked. Perhaps it is done, if not, I will try your suggestion.

Thanks again
Stefaan

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