Guys I'm struggeling.
Why is my DNN installation trying to upgrade from 4.4.0 when I am on 4.6.0?
Any help appreciated.
Bertus
I have tried later versions as well nothing will upgrade. I made a copy of the bodged upgrade if you need any more information.
Output in the browser:
Installing DotNetNuke
Version: 04.06.02
Installation Status Report
00:00:00.031 - Installing Version: 4.4.0
00:00:00.031 - Executing Script: DotNetNuke.SetUp.SqlDataProvider
Success
00:00:00.296 - Executing Script: DotNetNuke.Schema.SqlDataProvider
Error! (see DotNetNuke.Schema.log for more information)
00:00:05.515 - Executing Script: DotNetNuke.Data.SqlDataProvider
Error! (see DotNetNuke.Data.log for more information)
00:00:06.140 - Installing MemberRole Provider:
00:00:06.140 - Executing Script: InstallCommon
00:00:07.250 - Executing Script: InstallMembership
00:00:08.421 - Executing Script: InstallProfile
00:00:08.718 - Executing Script: InstallRoles
00:00:09.156 - Upgrading to Version: 4.6.2
00:00:09.171 - Executing Script: 04.04.01.SqlDataProvider
Success
00:00:09.265 - Executing Script: 04.05.00.SqlDataProvider
Success
00:00:09.906 - Executing Script: 04.05.01.SqlDataProvider
Success
00:00:10.015 - Executing Script: 04.05.02.SqlDataProvider
Success
00:00:10.187 - Executing Script: 04.05.03.SqlDataProvider
Success
00:00:10.250 - Executing Script: 04.05.04.SqlDataProvider
Success
00:00:10.312 - Executing Script: 04.05.05.SqlDataProvider
Success
00:00:10.328 - Executing Script: 04.06.00.SqlDataProvider
Error! (see 04.06.00.log for more information)
00:00:11.000 - Executing Script: 04.06.01.SqlDataProvider
Success
00:00:11.000 - Executing Script: 04.06.02.SqlDataProvider
Success
00:00:11.015 - Performing General Upgrades
00:00:12.546 - Loading Host Settings:
00:00:12.640 - Configuring SuperUser:
00:00:12.765 - Installing Modules:
00:00:12.765 - Installing Module File Adsense_01.00.01_Install:
Success
00:00:13.031 - Installing Module File HTML_04.06.01_Install:
Success
00:00:13.234 - Installing Module File Links_03.03.07_Install:
Success
00:00:13.406 - Executing Additional Scripts:
00:00:13.406 - Creating Portal: My Website
00:00:13.531 -
Error: Error creating Profile Definitions
00:00:13.531 -
Portal failed to install:Error!
00:00:13.531 - Installing Optional Resources:
00:00:13.546 - Installing Package File LiveID_01.00.00_Install:
Success
00:00:14.015 - Installing Package File OpenID_01.00.00_Install:
Success
Installation Complete
Output in 04.06.00.log
System.Data.SqlClient.SqlException: There is already an object named 'PK_PackageAssemblies' in the database.
Could not create constraint. See previous errors.
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 Assemblies Table */
/***************************/
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[Assemblies]') AND OBJECTPROPERTY(id, N'IsTable') = 1)
BEGIN
CREATE TABLE dbo.[Assemblies](
[AssemblyID] [int] IDENTITY(1,1) NOT NULL,
[PackageID] [int] NOT NULL,
[AssemblyName] [nvarchar](250) NOT NULL,
[Version] [nvarchar](20) NOT NULL,
CONSTRAINT [PK_PackageAssemblies] PRIMARY KEY CLUSTERED ([AssemblyID] ASC)
)
ALTER TABLE dbo.[Assemblies]
ADD CONSTRAINT [FK_PackageAssemblies_PackageAssemblies] FOREIGN KEY([PackageID]) REFERENCES dbo.[Packages] ([PackageID])
END