Upgrading from 4.9.5 to 6.1.1 and see the following compilation error. Please help.
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: CS1526: A new expression requires () or [] after type
Source Error:
Line 146: {
Line 147: var objLocale = new Locale
Line 148: {
Line 149: Text = nav.GetAttribute("name", ""),
Line 150: Code = nav.GetAttribute("key", ""),
Source File: e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs Line: 148
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(391,25): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(411,25): error CS1502: The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(411,40): error CS1503: Argument '1': cannot convert from 'var' to 'string'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(445,13): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(446,13): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(456,13): error CS1502: The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(456,38): error CS1503: Argument '1': cannot convert from 'var' to 'string'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(467,13): error CS1502: The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(467,38): error CS1503: Argument '1': cannot convert from 'var' to 'string'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(478,13): error CS1502: The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(478,38): error CS1503: Argument '1': cannot convert from 'var' to 'string'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(489,13): error CS1502: The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(489,38): error CS1503: Argument '1': cannot convert from 'var' to 'string'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(637,45): error CS1526: A new expression requires () or [] after type
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(650,37): error CS1526: A new expression requires () or [] after type
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(881,21): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(949,13): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(955,33): error CS1502: The best overloaded method match for 'DotNetNuke.Services.Upgrade.Upgrade.GetScriptFile(string, System.Version)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(955,80): error CS1503: Argument '2': cannot convert from 'var' to 'System.Version'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(967,35): error CS1502: The best overloaded method match for 'DotNetNuke.Services.Install.InstallWizard.GetNextScriptVersion(string, System.Version)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(967,73): error CS1503: Argument '2': cannot convert from 'var' to 'System.Version'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1294,21): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1296,21): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1606,25): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1609,48): error CS1502: The best overloaded method match for 'DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(string, System.Version, bool)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1609,100): error CS1503: Argument '2': cannot convert from 'var' to 'System.Version'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1612,48): error CS1502: The best overloaded method match for 'DotNetNuke.Services.Upgrade.Upgrade.DeleteFiles(string, System.Version, bool)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1612,93): error CS1503: Argument '2': cannot convert from 'var' to 'System.Version'
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1615,48): error CS1502: The best overloaded method match for 'DotNetNuke.Services.Upgrade.Upgrade.UpdateConfig(string, System.Version, bool)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\InstallWizard.aspx.cs(1615,94): error CS1503: Argument '2': cannot convert from 'var' to 'System.Version'
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(148,45): error CS1526: A new expression requires () or [] after type
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(161,37): error CS1526: A new expression requires () or [] after type
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(345,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(346,21): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(346,36): error CS1502: The best overloaded method match for 'DotNetNuke.Entities.Users.UserController.ValidateUser(int, string, string, string, string, string, string, ref DotNetNuke.Security.Membership.UserLoginStatus)' has some invalid arguments
e:\DNN\wwwroot_wideflycom\Install\UpgradeWizard.aspx.cs(346,171): error CS1503: Argument '8': cannot convert from 'ref var' to 'ref DotNetNuke.Security.Membership.UserLoginStatus'