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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error After Upgrade to 5.1.0Error After Upgrade to 5.1.0
Previous
 
Next
New Post
7/2/2009 11:56 PM
 

I upgraded my site from 4.9.4 to 5.1.0 recently.  I am getting the following error whenever I access the host > modules page:

 DateLog TypeUsernamePortalSummary
 7/2/2009 11:35:53 PM  Application Started       ...
 7/2/2009 11:33:23 PM  Module Load Exception  ISGHost    ModuleId: 330; ModuleDefId: 78; FriendlyName ...
ModuleId: 330
ModuleDefId: 78
FriendlyName: Module Definition Validator
ModuleControlSource: Admin/ModuleDefinitions/ModuleDefValidator.ascx
AssemblyVersion: 5.1.0
PortalID: 0
PortalName: ISG Corporate Site
UserID: 3
UserName: ISGHost
ActiveTabID: 18
ActiveTabName: Module Definitions
RawURL: /tabid/18/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; Avant Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: cc5a2441-5df3-41e4-9134-8ac13affd445
InnerException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist.at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)at System.Web.UI.TemplateControl.LoadControl(String virtualPath)at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()--- End of inner exception stack trace ---
Source:
Server Name: WEB16
 7/2/2009 11:33:23 PM  Module Load Exception  ISGHost    ModuleId: 322; ModuleDefId: 64; FriendlyName ...

ModuleId: 322
ModuleDefId: 64
FriendlyName: Module Definitions
ModuleControlSource: Admin/ModuleDefinitions/ModuleDefinitions.ascx
AssemblyVersion: 5.1.0
PortalID: 0
PortalName: XXXXXXXXXX
UserID: 3
UserName: XXXXXXXX

ActiveTabID: 18
ActiveTabName: Module Definitions
RawURL: /tabid/18/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; Avant Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4a7b7806-a838-440e-9f2e-f78d64225e5f
InnerException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist.at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)at System.Web.UI.TemplateControl.LoadControl(String virtualPath)at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()--- End of inner exception stack trace ---
Source:
Server Name: WEB16

 

 
New Post
7/3/2009 3:35 AM
 

Please check upgrade log files inside /providers/dataproviders/sqldataprovider/ if there are error reported.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/3/2009 12:07 PM
 

The error log from 5.1.0 was the event error, but the 5.0.0 log was:

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: Column names in each table must be unique. Column name 'PortalID' in table 'dbo.Packages' 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)

 

 

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

/* Update Packages */
/*******************/

ALTER TABLE dbo.Packages
 ADD PortalID int NULL

ALTER TABLE dbo.Packages
 ALTER COLUMN Description nvarchar(2000) NULL

ALTER TABLE dbo.Packages
 ALTER COLUMN License ntext NULL

ALTER TABLE dbo.Packages
 ALTER COLUMN Manifest ntext NULL

ALTER TABLE dbo.Packages
 ADD Owner nvarchar(100) NULL

ALTER TABLE dbo.Packages
 ADD Organization nvarchar(100) NULL

ALTER TABLE dbo.Packages
 ADD Url nvarchar(250) NULL

ALTER TABLE dbo.Packages
 ADD Email nvarchar(100) NULL

ALTER TABLE dbo.Packages
 ADD ReleaseNotes ntext NULL

ALTER TABLE dbo.Packages
 ADD IsSystemPackage bit NOT NULL CONSTRAINT DF_Packages_IsSystemPackage DEFAULT 0
 
DROP INDEX IX_Packages ON dbo.Packages

CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON dbo.Packages ( Owner, Name, PortalID )

 

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

 

 

 

 
New Post
7/23/2009 11:18 PM
 

Hello... any answer on this? I have the same errors and for some reason, those columns do not exists in any of the scripts between the 4.9.4 and 5.0.0. There seems to be a missing sqldataprovider file for the skins table mods. Any idea where those are? I'll bet the Professional Edition has them. I have been working at this upgrade for 3 hours now. This should not take this long. Any help would be greatly appreciated.

 
New Post
7/29/2009 10:21 PM
 

Was there ever a resolution to this issue?  I'm at a complete loss....

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error After Upgrade to 5.1.0Error After Upgrade to 5.1.0


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