Long time DNN user (was a member of the IBuySpy group on Asp.net) here attempting to bring a 7.4.2 portal up to 9.2.2. I have made it through the gauntlet to 8.0.4, but ran into the following error attempting to upgrade to 9.1.1. I did not see this when I tested using plain vanilla 8.0.4 on the exact same server. I am using Windows Server 2016, .NET 4.6 (also tried with .NET 4.7) and IIS 10. I was able to get pass the error by editing UpgradeWizard.ascx and hardcoding the needed responses there. I have searched here, Google, the DNNTracker and GitHub, but have not found a really good answer. Lots of folks suggest upgrading csc.exe using the Nuget.exe and the Microsoft .Net Compilers package, but no one seems to have a good example of how that gets into the Framework64 folder. And I not certain that is the issue given I was able to successfully upgrade the plain vanilla 8.0.4 installation using the exact same 9.1.1. code on the same server. I am thinking there is something lingering in the shadows of my 7.4.2 installation that might even have been around when it was a DNN 5.0 installation. I found an old .NET 2.0 empty <system.codedom> entry in the Web.Config which I removed without any happiness - still same error. Any ideas would be very much appreciated.
Currently, I am working in a local VM dev environment, but the target is to upgrade my current 7.4.2 Azure installation. I am taking all sorts of notes and will share my experience here, but would like to fill in this hole before I do.
==================================
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'chkAcceptTerms' does not exist in the current
context
Source Error:
|
Line 255: // EVENT HANDLER FUNCTIONS
Line 256:
//****************************************************************************************
Line 257: var $acceptTerms = $('#<%=
chkAcceptTerms.ClientID %>');
Line 258: if ($acceptTerms.length) {
Line 259: $acceptTerms.click(function()
{
|
Source File:
c:\inetpub\eqdnnprod\Install\UpgradeWizard.aspx Line: 257
Microsoft (R) Visual C#
Compiler version 4.7.3062.0
for C# 5
Copyright (C) Microsoft
Corporation. All rights reserved.
This compiler is provided as
part of the Microsoft (R) .NET Framework, but only supports language versions
up to C# 5, which is no longer the latest version. For compilers that support
newer versions of the C# programming language, see
http://go.microsoft.com/fwlink/?LinkID=533240