Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...CS0103: The name chkAcceptTerms does not existCS0103: The name chkAcceptTerms does not exist
New Post
1/21/2019 5:30 PM



Yes, I had checked that both of those items are in the UpgradeWizard.ascx and both have runat="server" as I mentioned above.
I have found something that might be a clue... I looked again and realized these were both asp:Checkbox controls so I went searching to see if anyone was having issues getting asp:Checkbox control objects in jQuery and I found this link:
So I went and edited UpgradeWizard.ascx added CssClass="chkAcceptTerms" checkbox entry and changed that line from
var $acceptTerms = $('#<%= chkAcceptTerms.ClientID %>');
var $acceptTerms = $('.chkAcceptTerms');
 I then did the same with the chkImprovementProgram checkbox and change the code as follows
From: $('#<%= chkImprovementProgram.ClientID %>').is(":checked")
And voila! - Joy followed with a refresh of the page and I got the upgrade form with a request host and password.  But again I do not know why it is happening to one installation on the exact same server and not another so there is something different between a plain vanilla and my particular installation of DNN.  Thanks for the reply it helped me take another look from a different perspective.

New Post
1/22/2019 3:24 AM
I'm pleased that you have a workaround. However - I am suspicious of the contents of your UpgradeWizard file.

I happened to have a 7.4.1 install on my computer. It's not the version you started you upgrade with, even though it's close. Mine has no chkAcceptTerms in either UpgradeWizard.aspx, nor the aspx.cs.

I also have a 9.1.1. By then the UpgradeWizard is gone. So maybe if you can get there it won't matter any more.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
New Post
1/22/2019 10:36 AM



If you look in the zip files that are in the GitHub repository for the DNN.Platform you will find UpgradeWizard.ascx in the \Install folder.  Once DNN is installed, the UpgradeWizard.ascx is removed by the installation to avoid someone doing a second upgrade or installation. When I do my DEV testing, I always copy directly from the zipped version files. This avoids me even accidently or absent mindedly deleting or modifying one of the files during my debugging.  I just checked my local zip files and the source code on GitHub for the latest RC and it is still in there.  As to the chkAcceptTerms, that only showed up in the 9.1.1. and 9.2.2 UpgradeWizard.ascx files. The 8.0.4 has the chkImprovementProgram, but not the chkAcceptTerms. The strange thing about that is even with the plain vanilla upgrades there is no place on the form where you can check or uncheck the chkAcceptTerms only the chkImprovementProgram checkbox shows up. I am thinking the chkAcceptTerms is either a future thing to come or a copy down from the paid Evoq version?  

But the story continues... After upgrading to 9.2.2, I ran into a problem with the DNN-Blue container for the Forum module. I thought I had removed all DNN-Blue containers from my sites, but one apparently escaped my purge. So the fix there would be to just go in the module settings and set the module container back to none specified or some container that is supported, right? Hmm...well, I could not get it off that DNN-Blue container. So there is still something lurking in the shadows of the UI controls in my DNN installation that needs to be either upgraded or purged. I think I have exonerated the SolPart controls through a thorough search, but I did notice the Telerik.UI dll in my bin is not the same version as in the plain vanilla installation.  So, after a run to the grocery store to get more supplies, I plan to research that issue.  I am going to give this one or two more days, but then I need to probably go with 8.0.4 for production until I can or someone else can figure out what is happening with old tired DNN installations that get upgraded to 9.2.2.  I really wish someone would write a module or script that would go through an installation and remove all the legacy orphaned stuff or just identify it and make recommendations as to what to do with it.  I would do it, but I not certain I know all of the in and outs of the code and legacy stuff. I know some of it, but not all of it.  

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...CS0103: The name chkAcceptTerms does not existCS0103: The name chkAcceptTerms does not exist

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