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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SQLException Help on Server 2008 R2 BetaSQLException Help on Server 2008 R2 Beta
Previous
 
Next
New Post
5/19/2009 4:24 PM
 

I am running the 5.1.0 community beta and all was well with 4.9.  I am using a Windows Server 2008 R2 operating system with SQL Server 2008 Enterprise.  Once I upgraded to 5.1 i get this error in the update log:

System.Data.SqlClient.SqlException: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_DNN_DesktopModules_DNN_Packages". The conflict occurred in database "Website", table "dbo.DNN_Packages", column 'PackageID'.
   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)

 

/* Add Foreign Key to PAckages/DesktopModules */
/**********************************************/

ALTER TABLE dbo.DNN_DesktopModules
 ADD CONSTRAINT FK_DNN_DesktopModules_DNN_Packages FOREIGN KEY ( PackageID ) REFERENCES dbo.DNN_Packages ( PackageID ) ON UPDATE  CASCADE  ON DELETE  CASCADE

Now all my sites are blank with the containers there and i can not log in any more?  At a little bit of a loss here:(

I am using Server 2008 R2 for the enhanced support for PHP.  I will note that the Active directory authentication is much smoother on server 2k8 R2, and the over all performance is better.  But now i have to reload the whole thing.

Please tell me someone has seen this on 5.1 and knows where the upgrade went wrong?

Thank you,
Dino D

 

 
New Post
5/19/2009 7:43 PM
 

Hi Mike

I would think your problem is to do with modules that you have installed on DNN 4.9 doesn't work longer when upgrading to 5.1 .... have you tried a rollback to 4.9 ... delete all customs modules and upgrade to see if this can be your core problem issue?

/Johan Kontorshotell Stockholm

 
New Post
6/8/2009 1:37 AM
 

Hi  All,

Can anybody help me .........................

I am new for SQL server 2008......I have Installed 2008 Evaluation Period downloaded from the site.....Installation happened sucessfully ,but in Management studio Sql server 2008 User define Table data type is not showing ......even in the Query its showing error.....Can someone help me on this as I m banging my head for the same from last 3 days.

Please help me in this case.....

Thanks in Advance

Srivastava

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SQLException Help on Server 2008 R2 BetaSQLException Help on Server 2008 R2 Beta


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