Received the following error when upgrading DotNetNuke from version 4.50. to version 4.5.1:
00:00:00.031 - Executing Script: 04.05.01.SqlDataProvider Error! (see 04.05.01.log for more information)
Contents of 04.05.01.log:
System.Data.SqlClient.SqlException: Invalid object name 'Folders'.
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)
/* correct any File folderpaths which do not match the value in the Folders table */
update dnnsbcn_Files
set Folder = FolderPath
from Folders
where Files.FolderID = Folders.FolderID
and Folder <> FolderPath
Please advise to as what you be done to fix this error. It should be noted that the web site APPEARS to function correctly after the upgrade