Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrading 5.01.04 to 5.02.03 - Timeout Expired ErrorUpgrading 5.01.04 to 5.02.03 - Timeout Expired Error
Previous
 
Next
New Post
3/25/2010 2:34 PM
 

As recommended by some of you I tried to run the script 5.02.00 manually from the DNN SQL interface and I got the following errors.  Should I tried to run the other script as well?  I dont want to damage anything :(

System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'FriendlyName' in table 'dbo.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 dbo.Schedule ADD FriendlyName nvarchar(200) NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'CacheMethod' in table 'dbo.TabModules' 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 CacheMethod column to TabModules */ /****************************************/ ALTER TABLE dbo.TabModules ADD CacheMethod varchar(50) NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'CultureCode' in table 'dbo.PortalSettings' 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) /***************************/ /* Localisation changes */ /***************************/ ALTER TABLE dbo.PortalSettings ADD CultureCode nvarchar(10) NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'CultureCode' in table 'dbo.Tabs' 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) ALTER TABLE dbo.Tabs ADD CultureCode nvarchar(10) System.Data.SqlClient.SqlException: There is already an object named 'PortalLocalization' in the database. 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) /* updated scripts for localisation v2 */ CREATE TABLE dbo.[PortalLocalization]( [PortalID] [int] NOT NULL, [CultureCode] nvarchar(10) NOT NULL, [PortalName] [nvarchar](128) NOT NULL, [LogoFile] [nvarchar](50) NULL, [FooterText] [nvarchar](100) NULL, [Description] [nvarchar](500) NULL, [KeyWords] [nvarchar](500) NULL, [BackgroundFile] [nvarchar](50) NULL, [HomeTabId] [int] NULL, [LoginTabId] [int] NULL, [UserTabId] [int] NULL, [AdminTabId] [int] NULL, [SplashTabId] [int] NULL, [CreatedByUserID] [int] NULL, [CreatedOnDate] [datetime] NULL, [LastModifiedByUserID] [int] NULL, [LastModifiedOnDate] [datetime] NULL ) System.Data.SqlClient.SqlException: There is already an object named 'InsertPortalLocalization' in the database. 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) CREATE PROCEDURE dbo.[InsertPortalLocalization] @PortalID int, @CultureCode nvarchar(10), @PortalName nvarchar(128), @LogoFile nvarchar(50), @FooterText nvarchar(100), @Description nvarchar(500), @KeyWords nvarchar(500), @BackgroundFile nvarchar(50), @HomeTabId int, @LoginTabId int, @UserTabId int, @AdminTabid int, @SplashTabId int, @CreatedByUserID int AS INSERT INTO dbo.[PortalLocalization] ([PortalID] ,[CultureCode] ,[PortalName] ,[LogoFile] ,[FooterText] ,[Description] ,[KeyWords] ,[BackgroundFile] ,[HomeTabId] ,[LoginTabId] ,[UserTabId] ,[AdminTabId] ,[SplashTabId] ,[CreatedByUserID] ,[CreatedOnDate] ,[LastModifiedByUserID] ,[LastModifiedOnDate]) VALUES ( @PortalID, @CultureCode, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId , @LoginTabId , @UserTabId, @AdminTabid, @SplashTabId , -1, getdate(), -1, getdate() ) System.Data.SqlClient.SqlException: There is already an object named 'GetPortalSetting' in the database. 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) CREATE PROCEDURE dbo.[GetPortalSetting] @PortalID int, @SettingName nvarchar(50), @CultureCode nvarchar(50) AS SELECT CASE WHEN LEFT(LOWER(dbo.PortalSettings.SettingValue), 6) = 'fileid' THEN (SELECT Folder + FileName FROM dbo.Files WHERE 'fileid=' + convert(varchar,dbo.Files.FileID) = dbo.PortalSettings.SettingValue ) ELSE dbo.PortalSettings.SettingValue END AS SettingValue FROM dbo.PortalSettings WHERE PortalID = @PortalID AND SettingName = @SettingName System.Data.SqlClient.SqlException: Invalid column name 'PortalName'. Invalid column name 'LogoFile'. Invalid column name 'FooterText'. Invalid column name 'Description'. Invalid column name 'KeyWords'. Invalid column name 'BackgroundFile'. Invalid column name 'HomeTabId'. Invalid column name 'LoginTabId'. Invalid column name 'UserTabId'. Invalid column name 'AdminTabId'. Invalid column name 'SplashTabId'. 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) /* script to move settings for portal default langugage here*/ /* migrate portal values to portalsettings */ DECLARE @PortalID int DECLARE @PortalName nvarchar(128) DECLARE @LogoFile nvarchar(50) DECLARE @FooterText nvarchar(100) DECLARE @Description nvarchar(500) DECLARE @KeyWords nvarchar(500) DECLARE @BackgroundFile nvarchar(50) DECLARE @HomeTabId int DECLARE @LoginTabId int DECLARE @UserTabId int DECLARE @AdminTabId int DECLARE @SplashTabId int DECLARE @DefaultLanguage nvarchar(10) --Iterate through each portal DECLARE Portals_Cursor CURSOR FOR SELECT PortalID, PortalName, LogoFile, FooterText, Description, KeyWords, BackgroundFile, HomeTabId, LoginTabId, UserTabId, AdminTabId, SplashTabId, DefaultLanguage FROM dbo.Portals OPEN Portals_Cursor --get first FETCH NEXT FROM Portals_Cursor into @PortalID, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, @DefaultLanguage WHILE @@FETCH_STATUS = 0 BEGIN exec dbo.InsertPortalLocalization @PortalID,@DefaultLanguage, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, -1 --also update portalsettings to correct default language UPDATE dbo.PortalSettings SET CultureCode=@DefaultLanguage where PortalID=@PortalID FETCH NEXT FROM Portals_Cursor into @PortalID, @PortalName, @LogoFile, @FooterText, @Description, @KeyWords, @BackgroundFile, @HomeTabId, @LoginTabId, @UserTabId, @AdminTabId, @SplashTabId, @DefaultLanguage END CLOSE Portals_Cursor DEALLOCATE Portals_Cursor System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'PortalName' does not exist in table 'Portals'. 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) ALTER TABLE dbo.Portals DROP COLUMN [PortalName] ALTER TABLE dbo.Portals DROP COLUMN [LogoFile] ALTER TABLE dbo.Portals DROP COLUMN [FooterText] ALTER TABLE dbo.Portals DROP COLUMN [Description] ALTER TABLE dbo.Portals DROP COLUMN [KeyWords] ALTER TABLE dbo.Portals DROP COLUMN [BackgroundFile] ALTER TABLE dbo.Portals DROP COLUMN [HomeTabId] ALTER TABLE dbo.Portals DROP COLUMN [LoginTabId] ALTER TABLE dbo.Portals DROP COLUMN [UserTabId] ALTER TABLE dbo.Portals DROP COLUMN [AdminTabId] ALTER TABLE dbo.Portals DROP COLUMN [SplashTabId] System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'ModuleTitle' in table 'dbo.TabModules' 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) /* tabmodules */ ALTER TABLE dbo.TabModules ADD [ModuleTitle] [nvarchar](256) NULL ALTER TABLE dbo.TabModules ADD [Header] [ntext] NULL ALTER TABLE dbo.TabModules ADD [Footer] [ntext] NULL

 
New Post
10/31/2010 1:24 PM
 
orEric:

Were you able to find a solution for that error, It seems I am getting almost the same error?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrading 5.01.04 to 5.02.03 - Timeout Expired ErrorUpgrading 5.01.04 to 5.02.03 - Timeout Expired Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out