I tried upgrading 4.9.5 to 5.0.0 and it worked with no errors. I was able to login as host and everything seemed fine (except for Dashboard, which I am hoping was a bug in 5.0.0).
With that success, I then upgraded that to 5.2.1 and got an error:
Executing Script: 05.02.01.SqlDataProvider Error! (see 05.02.01.log for more information).
The log said:
System.Data.SqlClient.SqlException: Invalid object name 'Lists'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Set DataType List to be a SystemList */
/****************************************/
UPDATE Lists SET SystemList = 'True' WHERE ListName = 'DataType'
I was able to login as host, and everything seemed to work, even lists, except for the Dashboard again:
(DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DotNetNuke/Admin/Dashboard/Dashboard.ascx' does not exist.).
So now I am thinking I will try upgrading 5.0.0 to 5.2.0, and then upgrading that to 5.2.1 to see if I can avoid the error. But it seems to work, so far. I am hoping to get all the way to 5.5.0 and get it to work. First I will try to avoid the errors, though.
I couldn't find anything on this forum about the 'Lists' object name problem above, so if you have any insights, please let me know.
Here is the log:
Upgrading DotNetNuke
Current Assembly Version: 05.02.01
Current Database Version: 05.00.00
Upgrade Status Report
00:00:00.048 - Upgrading to Version: 05.02.01
00:00:00.386 - Executing Script: 05.00.01.SqlDataProvider
Success
00:00:12.922 - Executing Script: 05.01.00.SqlDataProvider
Success
00:00:29.270 - Executing Script: 05.01.01.SqlDataProvider
Success
00:00:35.647 - Executing Script: 05.01.02.SqlDataProvider
Success
00:00:35.750 - Executing Script: 05.01.03.SqlDataProvider
Success
00:00:36.366 - Executing Script: 05.01.04.SqlDataProvider
Success
00:00:36.670 - Executing Script: 05.02.00.SqlDataProvider
Success
00:00:40.595 - Executing Script: 05.02.01.SqlDataProvider
Error! (see 05.02.01.log for more information)
00:00:41.822 - Executing Application Upgrades: 05.00.01
Success
00:00:42.102 - Executing Application Upgrades: 05.01.00
Success
00:00:54.778 - Executing Application Upgrades: 05.01.01
Success
00:00:54.897 - Executing Application Upgrades: 05.01.02
Success
00:00:54.898 - Executing Application Upgrades: 05.01.03
Success
00:00:55.429 - Executing Application Upgrades: 05.01.04
Success
00:00:55.429 - Executing Application Upgrades: 05.02.00
Success
00:00:55.819 - Executing Application Upgrades: 05.02.01
Error!
00:00:55.901 - Cleaning Up Files: 05.00.01
Success
00:00:55.996 - Cleaning Up Files: 05.01.00
Success
00:00:56.826 - Cleaning Up Files: 05.01.01
Success
00:00:56.827 - Cleaning Up Files: 05.01.02
Success
00:00:56.827 - Cleaning Up Files: 05.01.03
Success
00:00:56.827 - Cleaning Up Files: 05.01.04
Success
00:00:56.827 - Cleaning Up Files: 05.02.00
Success
00:00:56.827 - Cleaning Up Files: 05.02.01
Success
00:00:56.828 - Updating Config Files: 05.00.01
Success
00:00:56.830 - Updating Config Files: 05.01.00
Success
00:00:56.924 - Updating Config Files: 05.01.01
Success
00:00:56.924 - Updating Config Files: 05.01.02
Success
00:00:56.924 - Updating Config Files: 05.01.03
Success
00:00:56.924 - Updating Config Files: 05.01.04
Success
00:00:56.924 - Updating Config Files: 05.02.00
Success
00:00:56.992 - Updating Config Files: 05.02.01
Success
00:00:57.105 - Performing General Upgrades
00:00:57.372 - Installing Optional Modules:
00:00:57.375 - Installing Package File HTML_Community_05.02.00_Install:
Success
00:01:03.453 - Installing Optional Skins:
00:01:03.454 - Installing Optional Containers:
00:01:03.454 - Installing Optional Languages:
00:01:03.455 - Installing Optional Providers:
00:01:03.456 - Installing Package File AspNetMembershipProvider_05.02.00_Install:
Success
00:01:03.768 - Installing Package File CorePermissionProvider_05.01.01_Install:
Success
00:01:05.011 - Installing Package File DatabaseLoggingProvider_05.01.01_Install:
Success
00:01:05.165 - Installing Package File DNNMembershipProvider_05.01.03_Install:
Success
00:01:05.324 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install:
Success
00:01:05.484 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install:
Success
00:01:06.029 - Installing Package File FckHtmlEditorProvider_02.00.04_Install:
Success
00:02:14.468 - Installing Package File FileBasedCachingProvider_05.01.03_Install:
Success
00:02:14.877 - Installing Package File FileModuleCachingProvider_05.02.01_Install:
Success
00:02:15.139 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install:
Success
00:02:15.815 - Installing Package File SchedulingProvider_05.02.01_Install:
Success
00:02:16.034 - Installing Package File SearchIndexProvider_05.01.00_Install:
Success
00:02:16.311 - Installing Package File SearchProvider_05.01.01_Install:
Success
00:02:17.017 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install:
Success
00:02:17.565 - Installing Optional AuthSystems:
00:02:17.565 - Installing Package File LiveID_01.00.01_Install:
Success
00:02:17.829 - Installing Package File OpenID_02.00.00_Install:
Success
00:02:18.028 - Installing Optional Packages:
Upgrade Complete
Click Here To Access Your Portal