Did a standard upgrade install from 5.01.04 to 5.02.01
Got the following:
Upgrade Status Report
00:00:00.015 - Upgrading to Version: 05.02.01
00:00:00.015 - Executing Script: 05.02.00.SqlDataProvider Error! (see 05.02.00.log for more information)
00:00:09.781 - Executing Script: 05.02.01.SqlDataProvider Success
00:00:10.140 - Executing Application Upgrades: 05.02.00 Success
00:00:12.218 - Executing Application Upgrades: 05.02.01 Success
00:00:12.234 - Cleaning Up Files: 05.02.00 Success
00:00:12.234 - Cleaning Up Files: 05.02.01 Success
00:00:12.234 - Updating Config Files: 05.02.00 Success
00:00:12.265 - Updating Config Files: 05.02.01 Success
00:00:12.265 - Performing General Upgrades
00:00:12.328 - Installing Optional Modules:
00:00:12.343 - Installing Package File HTML_Community_05.01.04_Install: Error!
00:00:13.468 - Installing Package File HTML_Community_05.02.00_Install: Error!
00:00:13.843 - Installing Optional Skins:
00:00:13.843 - Installing Optional Containers:
00:00:13.843 - Installing Optional Languages:
00:00:13.843 - Installing Optional Providers:
00:00:13.843 - Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
00:00:13.953 - Installing Package File CorePermissionProvider_05.01.01_Install: Success
00:00:13.984 - Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
00:00:14.031 - Installing Package File DNNMembershipProvider_05.01.03_Install: Success
00:00:14.062 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:00:14.109 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:00:14.218 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:00:15.249 - Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
00:00:15.281 - Installing Package File FileModuleCachingProvider_05.02.01_Install: Success
00:00:15.437 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install: Success
00:00:15.578 - Installing Package File SchedulingProvider_05.02.01_Install: Success
00:00:15.656 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:00:15.687 - Installing Package File SearchProvider_05.01.01_Install: Success
00:00:15.734 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:00:15.781 - Installing Optional AuthSystems:
00:00:15.781 - Installing Package File LiveID_01.00.01_Install: Success
00:00:15.843 - Installing Package File OpenID_02.00.00_Install: Success
00:00:15.937 - Installing Optional Packages:
Not sure whether the later HTML_Community installation problem is related to the earlier SQLDataProvider install error so decided to deal with the data provider error first.
Here is the start of the 05.02.00.log file (it is followed by the same error for CacheMethod column in TabModules table, CultureCode column in PortalSettings, and others) :
System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'FriendlyName' in table 'parkrun.Schedule' is specified more than once.
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)
/* Add FriendlyName to Schedule Table */
/**************************************/
ALTER TABLE parkrun.Schedule ADD
FriendlyName nvarchar(200) NULL