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 ForumsSurveySurveyOut of range error.Out of range error.
Previous
 
Next
New Post
9/16/2007 3:44 PM
 

Hi,

I am using DNN 4.5.5 and just installed the survey module. When I go to submit my survey choice I get this module load exception:

InnerException: Specified argument was out of the range of valid values. Parameter name: index
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.get_Item
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Specified argument was out of the range of valid values. Parameter name: index ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at System.Web.UI.ControlCollection.get_Item(Int32 index) at DotNetNuke.Modules.Survey.Survey.cmdSubmit_Click(Object sender, EventArgs e) in D:\MySite\DesktopModules\Survey\Survey.ascx.vb:line 279 --- End of inner exception stack trace ---

 

john

 
New Post
9/17/2007 9:30 AM
 

Please log in as Host and go to the SQL page (from the Host Tab). Enter the following queries (one at a time and clik execute each time) and post the results:

select * from Surveys

select * from SurveyResults

select * from SurveyOptions

Thank You



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/17/2007 3:19 PM
 

SurveyID ModuleID Question ViewOrder OptionType CreatedDate CreatedByUser
1 455 What is your favorite genre?   R 9/16/2007 3:07:05 PM 2

 

(select * from SurveyResults) no results

 

SurveyOptionID SurveyID ViewOrder OptionName Votes IsCorrect
1 1 0 Horror 0 False
2 1 1 Fantasy 0 False
3 1 2 Mystery 0 False
4 1 3 Other 0 False

 

Thanks, John

 
New Post
9/18/2007 8:22 AM
 

In the first table you do not have a value for View Order. Can you put a zero in the field and see if it fixes the problem.?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/18/2007 9:12 AM
 

I duplicated the data and I could not reproduce the error.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyOut of range error.Out of range error.


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