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...Error upgrade from 4.9.3 to 5.2.2Error upgrade from 4.9.3 to 5.2.2
Previous
 
Next
New Post
1/31/2010 12:53 AM
 

 Here is the error message...

Where can I find the error log file?

Currently, my help module is dead...the tree panel is disappear...

Could somebody help me?

Upgrading DotNetNuke

Current Assembly Version: 05.02.02

Current Database Version: 04.09.03



Upgrade Status Report

00:00:00.062 - Upgrading to Version: 05.02.02
00:00:00.562 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log for more information)
00:00:01.609 -   Executing Script: 05.00.01.SqlDataProvider Success
00:00:04.234 -   Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)
00:00:12.500 -   Executing Script: 05.01.01.SqlDataProvider Error! (see 05.01.01.log for more information)
00:00:13.531 -   Executing Script: 05.01.02.SqlDataProvider Success
00:00:14.187 -   Executing Script: 05.01.03.SqlDataProvider Success
00:00:14.984 -   Executing Script: 05.01.04.SqlDataProvider Success
00:00:15.671 -   Executing Script: 05.02.00.SqlDataProvider Success
00:00:17.484 -   Executing Script: 05.02.01.SqlDataProvider Success
00:00:18.328 -   Executing Script: 05.02.02.SqlDataProvider Success
00:00:19.390 -   Executing Application Upgrades: 05.00.00 Success
00:01:04.250 -   Executing Application Upgrades: 05.00.01 Success
00:01:04.359 -   Executing Application Upgrades: 05.01.00 Success
00:01:11.343 -   Executing Application Upgrades: 05.01.01 Success
00:01:11.437 -   Executing Application Upgrades: 05.01.02 Success
00:01:11.437 -   Executing Application Upgrades: 05.01.03 Success
00:01:12.093 -   Executing Application Upgrades: 05.01.04 Success
00:01:12.093 -   Executing Application Upgrades: 05.02.00 Success
00:01:12.890 -   Executing Application Upgrades: 05.02.01 Success
00:01:12.906 -   Executing Application Upgrades: 05.02.02 Success
00:01:12.906 -   Cleaning Up Files: 05.00.00 Success
00:01:16.140 -   Cleaning Up Files: 05.00.01 Success
00:01:16.406 -   Cleaning Up Files: 05.01.00 Success
00:01:18.171 -   Cleaning Up Files: 05.01.01 Success
00:01:18.171 -   Cleaning Up Files: 05.01.02 Success
00:01:18.171 -   Cleaning Up Files: 05.01.03 Success
00:01:18.171 -   Cleaning Up Files: 05.01.04 Success
00:01:18.171 -   Cleaning Up Files: 05.02.00 Success
00:01:18.171 -   Cleaning Up Files: 05.02.01 Success
00:01:18.171 -   Cleaning Up Files: 05.02.02 Success
00:01:18.187 -   Updating Config Files: 05.00.00 Success
00:01:18.312 -   Updating Config Files: 05.00.01 Success
00:01:18.312 -   Updating Config Files: 05.01.00 Success
00:01:18.375 -   Updating Config Files: 05.01.01 Success
00:01:18.375 -   Updating Config Files: 05.01.02 Success
00:01:18.375 -   Updating Config Files: 05.01.03 Success
00:01:18.375 -   Updating Config Files: 05.01.04 Success
00:01:18.375 -   Updating Config Files: 05.02.00 Success
00:01:18.390 -   Updating Config Files: 05.02.01 Success
00:01:18.421 -   Updating Config Files: 05.02.02 Success
00:01:18.421 - Performing General Upgrades
00:01:19.859 - Installing Optional Modules:
00:01:19.890 -   Installing Package File HTML_Community_05.02.00_Install:  Success
00:01:32.062 - Installing Optional Skins:
00:01:32.078 - Installing Optional Containers:
00:01:32.125 - Installing Optional Languages:
00:01:32.125 - Installing Optional Providers:
00:01:32.156 -   Installing Package File AspNetMembershipProvider_05.02.00_Install:  Success
00:01:32.500 -   Installing Package File CorePermissionProvider_05.01.01_Install:  Success
00:01:33.250 -   Installing Package File DatabaseLoggingProvider_05.01.01_Install:  Success
00:01:33.781 -   Installing Package File DNNMembershipProvider_05.01.03_Install:  Success
00:01:34.140 -   Installing Package File DNNMenuNavigationProvider_05.01.00_Install:  Success
00:01:34.640 -   Installing Package File DNNTreeNavigationProvider_05.01.00_Install:  Success
00:01:35.062 -   Installing Package File FckHtmlEditorProvider_02.00.04_Install:  Success
00: -   Installing Package File FileBasedCachingProvider_05.01.03_Install:  Success
00:02:08.281 -   Installing Package File FileModuleCachingProvider_05.02.01_Install:  Success
00:02:08.468 -   Installing Package File MemoryModuleCachingProvider_05.02.01_Install:  Success
00:02:09.218 -   Installing Package File SchedulingProvider_05.02.01_Install:  Success
00:02:09.578 -   Installing Package File SearchIndexProvider_05.01.00_Install:  Success
00:02:09.859 -   Installing Package File SearchProvider_05.01.01_Install:  Success
00:02:10.203 -   Installing Package File SolpartMenuNavigationProvider_05.01.00_Install:  Success
00:02:11.750 - Installing Optional AuthSystems:
00:02:11.875 -   Installing Package File LiveID_01.00.01_Install:  Success
00:02:13.093 -   Installing Package File OpenID_02.00.00_Install:  Success
00:02:14.843 - Installing Optional Packages:

Upgrade Complete

 
New Post
1/31/2010 6:57 AM
 

The log files are found in the folder:

\Providers\Dataproviders\SqlDataProvider

 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/31/2010 8:10 AM
 

 Hi, here is the log information I got...

Can I try to fix the problem in DB directly. Most error looks like there are duplicated key or table in the DB... Should I remove the duplicated data directly.

Or there is a better way to fix my issue?

Here is the log: 05.00.00.log

 

System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'EditorControlSrc' in table 'dbo.PackageTypes' 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 EditorControlSrc Column to PackageTypes */

/***********************************************/

 

ALTER TABLE dbo.PackageTypes

ADD EditorControlSrc nvarchar(250) NULL

 

 

System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'PackageID' in table 'dbo.DesktopModules' 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 PackageID Column to DesktopModules */

/******************************************/

 

ALTER TABLE dbo.DesktopModules

ADD PackageID int NOT NULL CONSTRAINT [DF_DesktopModules_PackageID]  DEFAULT ((-1))

 

 

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_Permission'. Cannot insert duplicate key in object 'dbo.Permission'.

The statement has been terminated.

   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 New DesktopModule Permission */

/************************************/

 

INSERT INTO dbo.Permission (

[PermissionCode],

[ModuleDefID],

[PermissionKey],

[PermissionName]

) VALUES (

'SYSTEM_DESKTOPMODULE',

-1,

'DEPLOY',

'Can Deploy'

)

 

 

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_ModuleControls'. Cannot insert duplicate key in object 'dbo.ModuleControls'.

The statement has been terminated.

   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)

 

 

 

/* Move User Accounts Module Definition to the Security DesktopModule */

/*********************************************************************/

 

DECLARE @DesktopModuleID int

SET @DesktopModuleID = (SELECT DesktopModuleID FROM dbo.DesktopModules WHERE ModuleName = 'Security')

 

DECLARE @ModuleDefID int

SET @ModuleDefID = (SELECT ModuleDefID FROM dbo.ModuleDefinitions WHERE FriendlyName = 'User Accounts')

 

UPDATE dbo.ModuleDefinitions

SET DesktopModuleID = @DesktopModuleID

WHERE ModuleDefID = @ModuleDefID

 

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/Security/Users.ascx',

   IconFile = '~/images/icon_users_32px.gif'

WHERE ControlSrc = 'Admin/Users/Users.ascx'

   AND ModuleDefID = @ModuleDefID

   

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/Security/ManageUsers.ascx',

   IconFile = '~/images/icon_users_32px.gif'

WHERE ControlSrc = 'Admin/Users/ManageUsers.ascx'

   AND ModuleDefID = @ModuleDefID

   

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/Security/ProfileDefinitions.ascx',

   IconFile = '~/images/icon_users_32px.gif'

WHERE ControlSrc = 'Admin/Users/ProfileDefinitions.ascx'

   AND ModuleDefID = @ModuleDefID

   

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/Security/EditProfileDefinition.ascx',

   IconFile = '~/images/icon_users_32px.gif'

WHERE ControlSrc = 'Admin/Users/EditProfileDefinition.ascx'

   AND ModuleDefID = @ModuleDefID

   

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/Security/UserSettings.ascx'

WHERE ControlSrc = 'Admin/Users/UserSettings.ascx'

   AND ModuleDefID = @ModuleDefID

   

INSERT INTO dbo.ModuleControls(

    ModuleDefID,

    ControlKey,

    ControlTitle,

    ControlSrc,

    IconFile,

    ControlType,

    SupportsPartialRendering

)

    VALUES (

        @ModuleDefID,

        'User Roles',

        'User Roles',

        'DesktopModules/Admin/Security/SecurityRoles.ascx',

        '~/images/icon_securityroles_32px.gif',

        1,

        1

    )

   

DELETE dbo.DesktopModules

    WHERE ModuleName = 'User Accounts'

    

 

 

System.Data.SqlClient.SqlException: There is already an object named 'DF_Packages_IsSystemPackage' 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)

 

 

 

 

 

/***********************************************************/

/* End Update Admin Modules to conform to Module Standards */

/***********************************************************/

 

/* Update Packages */

/*******************/

 

CREATE TABLE dbo.Tmp_Packages

(

PackageID int NOT NULL IDENTITY (1, 1),

PortalID int NULL,

Name nvarchar(50) NOT NULL,

FriendlyName nvarchar(250) NOT NULL,

[Description] nvarchar(2000) NULL,

PackageType nvarchar(50) NOT NULL,

[Version] nvarchar(50) NOT NULL,

License ntext NULL,

Manifest ntext NULL,

[Owner] nvarchar(100) NULL,

Organization nvarchar(100) NULL,

Url nvarchar(250) NULL,

Email nvarchar(100) NULL,

ReleaseNotes ntext NULL,

IsSystemPackage bit NOT NULL

)

 

ALTER TABLE dbo.Tmp_Packages ADD CONSTRAINT DF_Packages_IsSystemPackage DEFAULT 0 FOR IsSystemPackage

 

SET IDENTITY_INSERT dbo.Tmp_Packages ON

 

IF EXISTS(SELECT * FROM dbo.Packages)

EXEC('INSERT INTO dbo.Tmp_Packages (PackageID, Name, FriendlyName, Description, PackageType, Version, License, Manifest)

SELECT PackageID, Name, FriendlyName, Description, PackageType, Version, License, Manifest FROM dbo.Packages WITH (HOLDLOCK TABLOCKX)')

 

SET IDENTITY_INSERT dbo.Tmp_Packages OFF

 

ALTER TABLE dbo.Assemblies DROP CONSTRAINT FK_PackageAssemblies_PackageAssemblies

 

DROP TABLE dbo.Packages 

 

EXECUTE sp_rename N'dbo.Tmp_Packages', N'Packages', 'OBJECT' 

 

ALTER TABLE dbo.Packages ADD CONSTRAINT PK_Packages PRIMARY KEY CLUSTERED ( PackageID ) 

 

CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON Packages ( [Owner], Name, PackageType, PortalID )

 

ALTER TABLE dbo.Assemblies ADD CONSTRAINT FK_PackageAssemblies_PackageAssemblies FOREIGN KEY ( PackageID ) REFERENCES dbo.Packages ( PackageID ) ON UPDATE  NO ACTION ON DELETE  NO ACTION 

 

 

System.Data.SqlClient.SqlException: Invalid column name 'PortalID'.

Invalid column name 'SkinRoot'.

Invalid column name 'SkinType'.

   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)

 

 

 

/* Move Default Host Skins to HostSettings */

/*******************************************/

 

INSERT INTO  dbo.HostSettings ( SettingName, SettingValue, SettingIsSecure )

SELECT 'DefaultAdminContainer', SkinSrc, 0 FROM dbo.Skins WHERE PortalID IS NULL AND SkinRoot='Containers' AND SkinType=1

 

INSERT INTO  dbo.HostSettings ( SettingName, SettingValue, SettingIsSecure )

SELECT 'DefaultPortalContainer', SkinSrc, 0 FROM dbo.Skins WHERE PortalID IS NULL AND SkinRoot='Containers' AND SkinType=0

 

INSERT INTO  dbo.HostSettings ( SettingName, SettingValue, SettingIsSecure )

SELECT 'DefaultAdminSkin', SkinSrc, 0 FROM dbo.Skins WHERE PortalID IS NULL AND SkinRoot='Skins' AND SkinType=1

 

INSERT INTO  dbo.HostSettings ( SettingName, SettingValue, SettingIsSecure )

SELECT 'DefaultPortalSkin', SkinSrc, 0 FROM dbo.Skins WHERE PortalID IS NULL AND SkinRoot='Skins' AND SkinType=0

 

 

 

System.Data.SqlClient.SqlException: Invalid column name 'PortalID'.

Invalid column name 'SkinRoot'.

Invalid column name 'SkinType'.

Invalid column name 'PortalID'.

   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)

 

 

 

/* Move Default Portal Skins to PortalSettings */

/***********************************************/

 

INSERT INTO dbo.PortalSettings (PortalID, SettingName, SettingValue)

SELECT     

PortalID,

'DefaultAdminContainer' AS SettingName,

SkinSrc

FROM dbo.Skins

WHERE PortalID IS NOT NULL AND SkinRoot = N'Containers' AND SkinType = 1

 

INSERT INTO dbo.PortalSettings (PortalID, SettingName, SettingValue)

SELECT     

PortalID,

'DefaultPortalContainer' AS SettingName,

SkinSrc

FROM dbo.Skins

WHERE PortalID IS NOT NULL AND SkinRoot = N'Containers' AND SkinType = 0

 

INSERT INTO dbo.PortalSettings (PortalID, SettingName, SettingValue)

SELECT     

PortalID,

'DefaultAdminSkin' AS SettingName,

SkinSrc

FROM dbo.Skins

WHERE PortalID IS NOT NULL AND SkinRoot = N'Skins' AND SkinType = 1

 

INSERT INTO dbo.PortalSettings (PortalID, SettingName, SettingValue)

SELECT     

PortalID,

'DefaultPortalSkin' AS SettingName,

SkinSrc

FROM dbo.Skins

WHERE PortalID IS NOT NULL AND SkinRoot = N'Skins' AND SkinType = 0

 

 

 

System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'IsWebSlice' 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 WebSlice Properties to TabModules */

/*****************************************/

 

ALTER TABLE dbo.TabModules 

    ADD IsWebSlice bit NOT NULL CONSTRAINT DF_abModules_IsWebSlice DEFAULT 0

ALTER TABLE dbo.TabModules 

    ADD WebSliceTitle nvarchar(256) NULL

ALTER TABLE dbo.TabModules 

    ADD WebSliceExpiryDate datetime NULL

ALTER TABLE dbo.TabModules 

    ADD WebSliceTTL int NULL

 

 

System.Data.SqlClient.SqlException: 'PK_EventLogMaster' is not a constraint.

Could not drop 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)

 

 

 

/* Fix OobjectQualifier for PK_EventLogMaster */

/**********************************************/

 

ALTER TABLE dbo.EventLog

DROP CONSTRAINT PK_EventLogMaster

 

ALTER TABLE dbo.EventLog 

ADD CONSTRAINT PK_EventLog PRIMARY KEY CLUSTERED ( LogGUID )

 

 

System.Data.SqlClient.SqlException: 'FK_EventLog_EventLogTypes' is not a constraint.

Could not drop 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)

 

 

 

/* Fix OobjectQualifier for PK_EventLogTypes */

/**********************************************/

 

ALTER TABLE dbo.EventLog

DROP CONSTRAINT FK_EventLog_EventLogTypes

ALTER TABLE dbo.EventLogConfig

DROP CONSTRAINT FK_EventLogConfig_EventLogTypes

ALTER TABLE dbo.EventLogTypes

DROP CONSTRAINT PK_EventLogTypes

ALTER TABLE dbo.EventLogTypes 

ADD CONSTRAINT PK_EventLogTypes PRIMARY KEY CLUSTERED ( LogTypeKey )

ALTER TABLE dbo.EventLogConfig 

ADD CONSTRAINT FK_EventLogConfig_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION ON DELETE  NO ACTION 

ALTER TABLE dbo.EventLog 

ADD CONSTRAINT FK_EventLog_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION  ON DELETE  NO ACTION 

 

 

System.Data.SqlClient.SqlException: Transaction (Process ID 1350) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

   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 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)

   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)

   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)

   at DotNetNuke.Data.SqlDataProvider.GrantStoredProceduresPermission(String Permission, String LoginOrRole)

 

if exists (select * from dbo.sysusers where name='coolcoolgame')  begin    declare @exec nvarchar(2000)     declare @name varchar(150)     declare sp_cursor cursor for select o.name as name     from dbo.sysobjects o     where ( OBJECTPROPERTY(o.id, N'IsProcedure') = 1 or OBJECTPROPERTY(o.id, N'IsExtendedProc') = 1 or OBJECTPROPERTY(o.id, N'IsReplProc') = 1 )     and OBJECTPROPERTY(o.id, N'IsMSShipped') = 0     and o.name not like N'#%%'     and (left(o.name,len('')) = '' or left(o.name,7) = 'aspnet_')     open sp_cursor     fetch sp_cursor into @name     while @@fetch_status >= 0       begin        select @exec = 'grant EXECUTE on [' +  @name  + '] to [coolcoolgame]'        execute (@exec)        fetch sp_cursor into @name       end     deallocate sp_cursor  end 

 

 

 

 
New Post
1/31/2010 8:11 AM
 

 Log: 05.01.00.log

System.Data.SqlClient.SqlException: There is already an object named 'vw_FolderPermissions' 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 VIEW dbo.[vw_FolderPermissions]

AS

    SELECT     

        FP.FolderPermissionID, 

        F.FolderID, 

        F.FolderPath, 

        P.PermissionID, 

        FP.RoleID, 

        CASE FP.RoleID WHEN - 1 THEN 'All Users' WHEN - 2 THEN 'Superuser' WHEN - 3 THEN 'Unauthenticated Users' ELSE R.RoleName END AS RoleName, 

        FP.AllowAccess, 

        FP.UserID, 

        U.Username, 

        U.DisplayName, 

        P.PermissionCode, 

        P.ModuleDefID, 

        P.PermissionKey, 

        P.PermissionName, 

        F.PortalID,FP.CreatedByUserID, 

                      FP.CreatedOnDate, FP.LastModifiedByUserID, FP.LastModifiedOnDate

    FROM    dbo.FolderPermission AS FP 

        LEFT OUTER JOIN dbo.Folders AS F ON FP.FolderID = F.FolderID 

        LEFT OUTER JOIN dbo.Permission AS P ON FP.PermissionID = P.PermissionID 

        LEFT OUTER JOIN dbo.Roles AS R ON FP.RoleID = R.RoleID 

        LEFT OUTER JOIN dbo.Users AS U ON FP.UserID = U.UserID

 

 

System.Data.SqlClient.SqlException: Column 'dbo.PackageTypes.PackageType' is not of same collation as referencing column 'Packages.PackageType' in foreign key 'FK_Packages_PackageTypes'.

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)

 

 

 

/* Add Foreign Key to Packages/PackageTypes */

/**********************************************/

 

ALTER TABLE dbo.Packages 

ADD CONSTRAINT FK_Packages_PackageTypes FOREIGN KEY ( PackageType ) REFERENCES dbo.PackageTypes ( PackageType ) ON UPDATE  CASCADE ON DELETE  CASCADE 

 

 

 

 
New Post
1/31/2010 8:12 AM
 

log: 05.01.01.log

 System.Data.SqlClient.SqlException: There is already an object named 'Tmp_Packages' 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)
 
 
 
/* Fix bug in drop index in 5.0 script - replay failed part of script */
/**********************************************************************/
 
ALTER TABLE dbo.Packages DROP CONSTRAINT DF_Packages_IsSystemPackage
 
CREATE TABLE dbo.Tmp_Packages
(
PackageID int NOT NULL IDENTITY (1, 1),
PortalID int NULL,
Name nvarchar(128) NOT NULL,
FriendlyName nvarchar(250) NOT NULL,
[Description] nvarchar(2000) NULL,
PackageType nvarchar(100) NOT NULL,
[Version] nvarchar(50) NOT NULL,
License ntext NULL,
Manifest ntext NULL,
[Owner] nvarchar(100) NULL,
Organization nvarchar(100) NULL,
Url nvarchar(250) NULL,
Email nvarchar(100) NULL,
ReleaseNotes ntext NULL,
IsSystemPackage bit NOT NULL,
CreatedByUserID int NULL,
CreatedOnDate datetime NULL,
LastModifiedByUserID int NULL,
LastModifiedOnDate datetime NULL
)
ALTER TABLE dbo.Tmp_Packages ADD CONSTRAINT DF_Packages_IsSystemPackage DEFAULT ((0)) FOR IsSystemPackage
 
SET IDENTITY_INSERT dbo.Tmp_Packages ON
 
IF EXISTS(SELECT * FROM dbo.Packages)
EXEC('INSERT INTO dbo.Tmp_Packages (PackageID, PortalID, Name, FriendlyName, Description, PackageType, Version, License, Manifest, Owner, Organization, Url, Email, ReleaseNotes, IsSystemPackage, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate)
SELECT PackageID, PortalID, Name, FriendlyName, Description, PackageType, Version, License, Manifest, Owner, Organization, Url, Email, ReleaseNotes, IsSystemPackage, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate FROM dbo.Packages WITH (HOLDLOCK TABLOCKX)')
 
SET IDENTITY_INSERT dbo.Tmp_Packages OFF
 
ALTER TABLE dbo.Assemblies DROP CONSTRAINT FK_PackageAssemblies_PackageAssemblies
 
ALTER TABLE dbo.DesktopModules DROP CONSTRAINT FK_DesktopModules_Packages
 
ALTER TABLE dbo.LanguagePacks DROP CONSTRAINT FK_LanguagePacks_Packages
 
DROP TABLE dbo.Packages
 
EXECUTE sp_rename N'dbo.Tmp_Packages', N'Packages', 'OBJECT' 
 
ALTER TABLE dbo.Packages ADD CONSTRAINT PK_Packages PRIMARY KEY CLUSTERED ( PackageID )
 
CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON dbo.Packages ( Owner, Name, PortalID )
 
ALTER TABLE dbo.LanguagePacks ADD CONSTRAINT FK_LanguagePacks_Packages FOREIGN KEY ( PackageID ) REFERENCES dbo.Packages ( PackageID ) ON UPDATE  NO ACTION ON DELETE  CASCADE 
ALTER TABLE dbo.DesktopModules WITH NOCHECK ADD CONSTRAINT FK_DesktopModules_Packages FOREIGN KEY ( PackageID ) REFERENCES dbo.Packages ( PackageID ) ON UPDATE  CASCADE ON DELETE  CASCADE 
 
ALTER TABLE dbo.Assemblies ADD CONSTRAINT FK_PackageAssemblies_PackageAssemblies FOREIGN KEY ( PackageID ) REFERENCES dbo.Packages ( PackageID ) ON UPDATE  NO ACTION ON DELETE  CASCADE 
 
 
 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error upgrade from 4.9.3 to 5.2.2Error upgrade from 4.9.3 to 5.2.2


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