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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumErrors Upgrading !!Errors Upgrading !!
Previous
 
Next
New Post
6/22/2006 11:52 AM
 
Hello,

I have the forum 3.20.01 installed on a 3.2.2 DNN.  I've upgraded DNN to 3.3.01 and the forum remained 3.20.01...  So then I tried to upgrade to Forum 3.20.06 and received the following errors:

StartJob Begin Sql execution
Info Executing 03.20.02.SqlDataProvider
StartJob Start Sql execution: 03.20.02.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: 'DF_Forum_Users_TimeZone' is not a constraint. Could not drop constraint. See previous errors. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP CONSTRAINT [DF_Forum_Users_TimeZone] System.Data.SqlClient.SqlException: 'DF_Forum_Users_UseRichText' is not a constraint. Could not drop constraint. See previous errors. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP CONSTRAINT [DF_Forum_Users_UseRichText] System.Data.SqlClient.SqlException: 'DF_Forum_Users_LastForumsView' is not a constraint. Could not drop constraint. See previous errors. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP CONSTRAINT [DF_Forum_Users_LastForumsView] System.Data.SqlClient.SqlException: 'DF_Forum_Users_LastThreadView' is not a constraint. Could not drop constraint. See previous errors. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP CONSTRAINT [DF_Forum_Users_LastThreadView] System.Data.SqlClient.SqlException: 'DF_Forum_Users_EnablePrivateMessages' is not a constraint. Could not drop constraint. See previous errors. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP CONSTRAINT [DF_Forum_Users_EnablePrivateMessages] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'TimeZone' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [TimeZone] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'UseRichText' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [UseRichText] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'LastForumsView' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [LastForumsView] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'LastThreadView' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [LastThreadView] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'EnablePrivateMessages' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [EnablePrivateMessages] System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because column 'URL' does not exist in table 'Forum_Users'. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users DROP COLUMN [URL] System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'IsGlobalModerator' in table 'dbo.Forum_Users' is specified more than once. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users WITH NOCHECK ADD [IsGlobalModerator] [bit] DEFAULT (0) NOT NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'ModeratorReturn' in table 'dbo.Forum_Users' is specified more than once. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users WITH NOCHECK ADD [ModeratorReturn] [bit] DEFAULT (0) NOT NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'EnablePM' in table 'dbo.Forum_Users' is specified more than once. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users WITH NOCHECK ADD [EnablePM] [bit] DEFAULT (1) NOT NULL System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'EnablePMNotifications' in table 'dbo.Forum_Users' is specified more than once. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Users WITH NOCHECK ADD [EnablePMNotifications] [bit] DEFAULT (1) NOT NULL

And
Info Executing 03.20.04.SqlDataProvider
StartJob Start Sql execution: 03.20.04.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'FileAttachmentURL' in table 'dbo.Forum_Posts' is specified more than once. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Forum_Posts WITH NOCHECK ADD [FileAttachmentURL] [nvarchar] (50) NULL
EndJob End Sql execution: 03.20.04.SqlDataProvider file


Any ideas why and/or how to fix?  Thanks MUCH!!


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
6/22/2006 2:22 PM
 

You are having errors upgrading because the upgrade has already run but for some reason it didn't update the version number. This explains why the sql dataprovider files threw all those errors. (Reading the errors tells me it was already run). I have no idea how this happend and my suggestion for fixing it is to see if the module itself is operating as 3.20.06. If it is or is not, you can update your DesktopModules table to that newest version number and then just reinstall again. This will make sure all the code is up to date, proper ascx files, and will not fire off the sql dataprovider files again. (Thats why you need to bump the version number)

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
8/15/2006 5:59 PM
 
Crispy,

I just noticed I never thanked you for helping me.  That did fix the problem (2 months ago)  Thanks for the Help!!


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumErrors Upgrading !!Errors Upgrading !!


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