System.Data.SqlClient.SqlException: 'PK_EventLogMaster' no es una restricción.
No se puede quitar la restricción. Consulte los errores anteriores.
at System.Data.SqlClient.SqlConnection.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)
/* Fix OobjectQualifier for PK_EventLogMaster */
/**********************************************/
ALTER TABLE dbo.Dnn_EventLog
DROP CONSTRAINT PK_EventLogMaster
ALTER TABLE dbo.Dnn_EventLog
ADD CONSTRAINT PK_Dnn_EventLog PRIMARY KEY CLUSTERED ( LogGUID )
System.Data.SqlClient.SqlException: 'PK_EventLogTypes' no es una restricción.
No se puede quitar la restricción. Consulte los errores anteriores.
at System.Data.SqlClient.SqlConnection.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)
/* Fix OobjectQualifier for PK_EventLogTypes */
/**********************************************/
ALTER TABLE dbo.Dnn_EventLog
DROP CONSTRAINT FK_Dnn_EventLog_Dnn_EventLogTypes
ALTER TABLE dbo.Dnn_EventLogConfig
DROP CONSTRAINT FK_Dnn_EventLogConfig_Dnn_EventLogTypes
ALTER TABLE dbo.Dnn_EventLogTypes
DROP CONSTRAINT PK_EventLogTypes
ALTER TABLE dbo.Dnn_EventLogTypes
ADD CONSTRAINT PK_Dnn_EventLogTypes PRIMARY KEY CLUSTERED ( LogTypeKey )
ALTER TABLE dbo.Dnn_EventLogConfig
ADD CONSTRAINT FK_Dnn_EventLogConfig_Dnn_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.Dnn_EventLogTypes ( LogTypeKey ) ON UPDATE NO ACTION ON DELETE NO ACTION
ALTER TABLE dbo.Dnn_EventLog
ADD CONSTRAINT FK_Dnn_EventLog_Dnn_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.Dnn_EventLogTypes ( LogTypeKey ) ON UPDATE NO ACTION ON DELETE NO ACTION