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 ForumsBlogBlogSQL Error on upgrade from 3.1.2 to 3.2 on DNN3.1.1SQL Error on upgrade from 3.1.2 to 3.2 on DNN3.1.1
Previous
 
Next
New Post
2/3/2006 7:54 PM
 
Just upgraded the module and the following SQL error occurred, from what I can see everything works except nothing comes up when you expand the liked files section.  Does some thing need fixing?:

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'TabID', table 'WEBPC.dbo.Blog_Settings'; column does not allow nulls. UPDATE fails. The statement has been terminated. 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.ExecuteScript(String Script, Boolean UseTransactions) -- Changing the column's definition ALTER TABLE dbo.Blog_Settings ALTER COLUMN [TabID] int NOT NULL System.Data.SqlClient.SqlException: Cannot define PRIMARY KEY constraint on nullable column in table 'Blog_Settings'. Could not create constraint. See previous errors. 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.ExecuteScript(String Script, Boolean UseTransactions) -- Creating the new primary key ALTER TABLE dbo.Blog_Settings ADD CONSTRAINT [PK_Blog_Settings] PRIMARY KEY ([PortalID], [TabID], [Key]) ON [PRIMARY]
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogSQL Error on upgrade from 3.1.2 to 3.2 on DNN3.1.1SQL Error on upgrade from 3.1.2 to 3.2 on DNN3.1.1


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