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.0Survey Module Migration ErrorsSurvey Module Migration Errors
Previous
 
Next
New Post
9/23/2006 12:13 AM
 
Have anybody successfully migrated the Survey module source to DNN 4??? I had it compiling without errors in 3.3.5 (VS2003) and then used the Migration Wizard to move it to DNN 4.3.5. The wizard completed without errors but the module gives me many errors when I tried to compile it in VS2005. The errors are beyond me, I list them below, your help will be appreciated. The site is running the DNN 4.3.5 Dev Kit and it runs fine aside from the Survey module which is now messed up.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(30,0): error BC30260: 'txtQuestion' is already declared as 'Protected Dim WithEvents txtQuestion As System.Web.UI.WebControls.TextBox' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(31,0): error BC30260: 'cboOptionType' is already declared as 'Protected Dim WithEvents cboOptionType As System.Web.UI.WebControls.DropDownList' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(32,0): error BC30260: 'txtViewOrder' is already declared as 'Protected Dim WithEvents txtViewOrder As System.Web.UI.WebControls.TextBox' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(33,0): error BC30260: 'txtOption' is already declared as 'Protected Dim WithEvents txtOption As System.Web.UI.WebControls.TextBox' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(34,0): error BC30260: 'chkCorrect' is already declared as 'Protected Dim WithEvents chkCorrect As System.Web.UI.WebControls.CheckBox' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(35,0): error BC30260: 'cmdAddOption' is already declared as 'Protected Dim WithEvents cmdAddOption As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(36,0): error BC30260: 'lstOptions' is already declared as 'Protected Dim WithEvents lstOptions As System.Web.UI.WebControls.ListBox' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(37,0): error BC30260: 'cmdUp' is already declared as 'Protected Dim WithEvents cmdUp As System.Web.UI.WebControls.ImageButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(38,0): error BC30260: 'cmdDown' is already declared as 'Protected Dim WithEvents cmdDown As System.Web.UI.WebControls.ImageButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(39,0): error BC30260: 'cmdDeleteOption' is already declared as 'Protected Dim WithEvents cmdDeleteOption As System.Web.UI.WebControls.ImageButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(41,0): error BC30260: 'cmdUpdate' is already declared as 'Protected Dim WithEvents cmdUpdate As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(42,0): error BC30260: 'cmdCancel' is already declared as 'Protected Dim WithEvents cmdCancel As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(43,0): error BC30260: 'cmdDelete' is already declared as 'Protected Dim WithEvents cmdDelete As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\EditSurvey.ascx.vb(47,0): error BC30260: 'ctlAudit' is already declared as 'Protected Dim WithEvents ctlAudit As ASP.controls_moduleauditcontrol_ascx' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(29,0): error BC30260: 'pnlSurvey' is already declared as 'Protected Dim WithEvents pnlSurvey As System.Web.UI.WebControls.Panel' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(30,0): error BC30260: 'lstSurvey' is already declared as 'Protected Dim WithEvents lstSurvey As System.Web.UI.WebControls.DataList' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(31,0): error BC30260: 'cmdSubmit' is already declared as 'Protected Dim WithEvents cmdSubmit As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(32,0): error BC30260: 'cmdResults' is already declared as 'Protected Dim WithEvents cmdResults As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(34,0): error BC30260: 'pnlResults' is already declared as 'Protected Dim WithEvents pnlResults As System.Web.UI.WebControls.Panel' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(35,0): error BC30260: 'lstResults' is already declared as 'Protected Dim WithEvents lstResults As System.Web.UI.WebControls.DataList' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(36,0): error BC30260: 'cmdSurvey' is already declared as 'Protected Dim WithEvents cmdSurvey As System.Web.UI.WebControls.LinkButton' in this class.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(298,0): warning BC42024: Unused local variable: 'intSurvey'.

C:\Inetpub\DNN434Kit\DesktopModules\Survey\Survey.ascx.vb(309,0): warning BC42104: Variable 'strHTML' is used before it has been assigned a value. A null reference exception could result at runtime.
Validation Complete
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
 
New Post
9/23/2006 10:34 AM
 

I haven't tried migrating it, as at present Michael Washington off the coreteam is doing that. I know he's had a few issues, and his feedback has caused changes to be made to the core, but I thought they were checked in for 4.3.5. I'll send him an email and see if he can help you out here.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/23/2006 11:00 AM
 
Thank you for the info. I just wanted to use the Survey module as a model for a module I need to develop. I quess I can look at the code without actually having to compile it or, look at it in VS2003 while I do my development in VS2005.
 
New Post
9/23/2006 11:27 AM
 
The error messages suggest that you have two sets of dlls or code for the same module present.
 
New Post
9/23/2006 2:17 PM
 
You can get the DNN4 version of the Survey from this link. You will want to first upgrade to DNN version 4.3.5 in order for it to install correctly.


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Survey Module Migration ErrorsSurvey Module Migration Errors


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