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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Connecting DNN to a large event databaseConnecting DNN to a large event database
Previous
 
Next
New Post
7/23/2007 3:23 PM
 

Having followed the DotNetNuke 4.0 module development tutorial as it came in the pdf with my DNN download, I uncovered an error in the code listing for SqlDataProvider.cs. It lacks a class definition section which can be found here: http://adefwebserver.com/DotNetNukeHELP/DNN4_SurveyModule/Survey_Module3.htm

After getting the site to build, I have found a problem with the sql scripts. I will try to resolve this tomorrow.

 
New Post
7/24/2007 3:57 AM
 

I have now gotten the SQL scripts to work by using the browse/load-function. Pasting the text in the window (both with and without replacing the stuff inside curly {} brackets) dit not work.

 
New Post
7/24/2007 4:11 AM
 
Got the module running, but it seems like it fails to add or retrieve data, as it fails to register answers to my surveys. Also I get a critical error: "value cannot be null. parameter name: String".
 
New Post
7/24/2007 5:07 AM
 
Found an error. The debugger shows me line 352 in the code behind file of survey.ascx. Mark that I have renamed everything survey to Tutorial_survey.

objTutorial_surveyOption.Tutorial_surveyOptionId = Int32.Parse(Request.Form[(lstTutorial_survey.UniqueID + (":_ctl" + (intQuestion.ToString() + ":optOptions")))]);
 
New Post
7/24/2007 6:27 AM
 
I have now gotten both my single choice and multi choice questions to work as long as there are no more than ten questions (indexed 0 through 9) by substituting all : with $ and appending a 0 behind ctl to make it ctl0 in the section that constructs the indexes for the Request.Form array. Obviously I have to add a control structure to decide if it needs a 0 behind ctl or not. But I am unsure if I am going to do that - I have achieved what I set out to do by making a module work. Since I know what's wrong with it, fixing it would probably be a waste of time now. But I guess what I have found will be helpful to the dotnetnuke community if the authors would like to correct the source code.

What's next for me in my project I don't know, but I will surf around a bit to find out.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Connecting DNN to a large event databaseConnecting DNN to a large event database


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