Hi,
I have updated dnn 05.00.01 to 05.01.00 build 773 :
I have this errors :
00:00:00.136 - Upgrading to Version: 05.01.00
00:00:01.348 - Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)
00:00:42.022 - Executing Application Upgrades: 05.01.00 Error!
00:00:45.811 - Cleaning Up Files: 05.01.00 Success
00:00:46.528 - Updating Config Files: 05.01.00 Success
00:00:46.594 - Performing General Upgrades
00:00:47.088 - Installing Optional Modules:
00:00:47.099 - Installing Package File HTML_Community_05.01.00_Install: Success
00:01:15.277 - Installing Optional Skins:
00:01:15.277 - Installing Optional Containers:
00:01:15.278 - Installing Optional Languages:
00:01:15.278 - Installing Optional Providers:
00:01:16.067 - Installing Package File AspNetMembershipProvider_05.01.00_Install: Success
00:01:17.880 - Installing Package File CorePermissionProvider_05.01.00_Install: Success
00:01:18.049 - Installing Package File DatabaseLoggingProvider_05.01.00_Install: Success
00:01:18.320 - Installing Package File DNNMembershipProvider_05.01.00_Install: Success
00:01:18.568 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:01:18.690 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:01:18.906 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:01:41.207 - Installing Package File FileBasedCachingProvider_05.01.00_Install: Success
00:01:41.273 - Installing Package File SchedulingProvider_05.01.00_Install: Success
00:01:41.724 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:01:41.845 - Installing Package File SearchProvider_05.01.00_Install: Success
00:01:41.937 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:01:42.022 - Installing Optional AuthSystems:
00:01:42.029 - Installing Package File LiveID_01.00.01_Install: Success
00:01:42.317 - Installing Package File OpenID_02.00.00_Install: Success
00:01:42.535 - Installing Optional Packages:
Upgrade Complete
05.01.00.log :
System.Data.SqlClient.SqlException: Une clé primaire est déjà définie sur la table 'EventLog'.
Impossible de créer la contrainte. Voir les erreurs précédentes.
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)
/* Change primary key of EventLog Table */
/****************************************/
IF NOT EXISTS (SELECT 1 FROM INformATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'dbo.EventLog' AND COLUMN_NAME = 'LogEventID')
BEGIN
--Note this name does NOT have an object qualifier in 4.x upgrades
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'PK_EventLogMaster'))
ALTER TABLE dbo.EventLog
DROP CONSTRAINT PK_EventLogMaster
--Note this name does have an object qualifier in 5.x installs
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'PK_EventLogMaster'))
ALTER TABLE dbo.EventLog
DROP CONSTRAINT PK_EventLogMaster
ALTER TABLE dbo.EventLog
ADD LogEventID bigint NOT NULL IDENTITY (1, 1)
ALTER TABLE dbo.EventLog
ADD CONSTRAINT PK_EventLogMaster PRIMARY KEY CLUSTERED ( LogEventID )
END
Can you help me?
Great regards