Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumIndex was out of range.Index was out of range.
Previous
 
Next
New Post
9/24/2008 3:38 AM
 

Hello all,

Not sure if I am the only one who suffer from this issue?

I'm running Forum Module 4.4.3 on DNN 4.8.4

Whenever a user replied to a thread, the link to that thread (and that reply) will appear on Last Post column in Forum module landing page, as well as that related forum page. That link is broken, giving me following error. This only happens on the latest replied thread.

InnerException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

And the error message goes:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at DotNetNuke.Modules.Forum.Posts.RenderThread(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) ...... etc.

Appreciate it if someone could assist me in this issue!

Thanks!

 
New Post
9/24/2008 5:17 PM
 

I think it is related to the List Table issue.  Have you read the pinned thread in this forum about the Fix for List issue?  If not read it and follow it.

 
New Post
10/7/2008 2:41 AM
 

Hi, thanks for your suggestion, I've tried that but it does not help.

Anyone has any idea on how to solve this issue?

Thanks!

 
New Post
11/11/2008 3:23 PM
 

Did you ever get this resolved?  I've seen this happen when you link someone to a page that doesn't exist with their "posts per page" preference setting.

For example, let's say you have your preferences set to display 10 posts per page.  And you friend has his preferences set to display 5 posts per page.

Your friend is reading a thread that has 9 posts, and he's on the second page (posts 6-9).  He sends you a link to the page he's on, which will contain "threadpage/2" in the link.

When you try and pull up the page, you will get an "index out of range" exception, because for you, that thread only consists of one page--there is no second page.  At least, that's what I think is happening.

 
New Post
11/11/2008 9:15 PM
 

I am getting the same error and have not found a solution for it.  I am going to do a site update but I am curious if there are other versions with the same problem?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumIndex was out of range.Index was out of range.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out