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 ForumsSurveySurveySpecified argument was out of the range of valid values.Specified argument was out of the range of valid values.
Previous
 
Next
New Post
5/11/2007 11:17 AM
 

To help me re-create this, can you go to SQL (Click on the HOST menu and select SQL)

Enter "select * from Surveys" and click execute and post the results?

also

Enter "select * from SurveyOptions" and click execute and post the results?



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

SurveyOptions table:

SurveyOptionID SurveyID ViewOrder OptionName Votes IsCorrect
6 1 0 Bad 1 False
7 1 1 Good 1 False
8 1 2 Not bad 1 False


Survey table:
SurveyID ModuleID Question ViewOrder OptionType CreatedDate CreatedByUser
1 419 What do You think about this website? 0 R 12.5.2007 13:24:05 1

But, today it works fine. Only difference is that, today I'm the only user on website. Also, for the record,sometimes  before, I tried to vote and it worked ok. But, in most of cases it throws that error. What could be a problem, what do You think? I am also a .NET developer, so we can speak that language too :)

I tried to install all available versions of Survey module, but, those have their own errors, so I returned to 04.00.70 version.



Thanks,
Aleksandar

 
New Post
5/12/2007 7:50 AM
 

I have one more thing to say. I've installed existing Survey module (from Home page) to an other page (Forums page). Survey on home page works fine, but on Forums page it throws this error. (... agrument was out of range...) 

Survey options:

SurveyOptionID SurveyID ViewOrder OptionName Votes IsCorrect
6 1 0 Bad 2 False
7 1 1 Good 3 False
8 1 2 Not bad 1 False
9 1 3 sdfgdfgdfg 1 False

Surveys:

SurveyID ModuleID Question ViewOrder OptionType CreatedDate CreatedByUser
1 419 What do You think about this website? 0 R 12.5.2007 13:41:30 1

Thanks,
Aleksandar

 
New Post
5/12/2007 2:32 PM
 

Thank you for taking the time to help me track this down. These errors can be elusive. So far the data looks normal.

Right after the error is thrown, can you go to the "Event Viewer" (from the Admin menu)  and post any relevant entries (they will be in red)?

Thank You!

Also note, We have found a bug in 04.00.70 (sigh). See this thread for the temporary fix:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/51/threadid/132837/scope/posts/Default.aspx

 



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

Is this what You wanted me to post:

AssemblyVersion: 04.05.01
PortalID: 0
PortalName: -----------------------
UserID: 1
UserName: host
ActiveTabID: 37
ActiveTabName: Home
RawURL: /dotnetnuke/Home/tabid/37/Default.aspx
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke/Home/tabid/37/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 094d70ac-4495-4fe9-aab4-66460ca2f326
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.PageLoadException: 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: indexat System.Web.UI.ControlCollection.get_Item(Int32 index)at DotNetNuke.Modules.Survey.Survey.cmdSubmit_Click(Object sender, EventArgs e)at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source: ?

I've posted new thread with this error. It is the same problem, so You can delete one of them.

Thank You,
Aleksandar

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveySpecified argument was out of the range of valid values.Specified argument was out of the range of valid values.


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