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 ...Big Upgrade, almost there... 3.2.2 to 5.1.4Big Upgrade, almost there... 3.2.2 to 5.1.4
Previous
 
Next
New Post
1/12/2010 9:47 PM
 

 I am in the process of updaing a site from 3.2.2 to 5.1.4.  I have successfully followed this process for three other sites:

3.3.7 -> 4.4.1 -> 4.6.2 -> 4.8.4 -> 5.1.2 -> 5.1.4

I have successfully reached 4.8.4, although in doing some research, I did have two errors (4.0.0 and 4.3.5)  and these may be causing my current woes.  The first one is the 4.0.0.log error which essentially reads: (I won't post the whole thing)

System.Data.SqlClient.SqlException: Cannot resolve collation conflict for equal to operation.
   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)


ALTER PROCEDURE dbo.aspnet_UsersInRoles_RemoveUsersFromRoles

and later:

System.Data.SqlClient.SqlException: Cannot resolve collation conflict for equal to operation.
   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)


ALTER PROCEDURE dbo.aspnet_UsersInRoles_AddUsersToRoles

The error from 4.3.5.log is:

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

ALTER TABLE dbo.Folders ADD
 LastUpdated datetime NOT NULL CONSTRAINT DF_Folders_LastUpdated DEFAULT getUtcDate()

Now, question #1 - Can I go back and run the 4.0.0 SQL provider script, or has some other update changed that procedure?  As for the 4.3.5 error, the column already exists, so is this acceptable?

 

The primary pain is during the 4.8.4 -> 5.1.2 upgrade.  Everything works fine here until the script starts to update the HTML_Community_05.01.03_Install module.  This fails with an error, no log.  Everything else continues to install (this is the default upgrade package), and when it gets to the FckHtmlEditorProvider_02.00.04_Install, an  Application error indicates that the Thread was being aborted.  The following error is shown:

Source Error:

An unhandled exception was generated during the execution of the current web request.  Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ThreadAbortException: Thread was being aborted.]
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +486
       System.Web.ApplicationStepManager.ResumeSteps(Exception error) +501
       System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +123
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +379

 

This is still going against a SQL2000 database.

Any help on this would be great!

Cheers
Dave


-----
Cheers
Dave
 
New Post
1/14/2010 12:14 PM
 

Has anyone seen this?

Cheers


-----
Cheers
Dave
 
New Post
1/15/2010 5:02 AM
 

Please make sure, using a case insensitive collation for the upgrade, during the upgrade, server collation should be same as database collation.

Besides, SQL 2000 is no longer supported in DNN 5.2 and there are known issues using it with DNN 5.1.x


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/15/2010 8:37 AM
 
Sebastian Leupold wrote:

Please make sure, using a case insensitive collation for the upgrade, during the upgrade, server collation should be same as database collation.

Besides, SQL 2000 is no longer supported in DNN 5.2 and there are known issues using it with DNN 5.1.x

 

Sebastian,

Thanks so much for the reply.

I'm not a SQL guy and I think I understand collation (I've been doing a bit of reading), however my site is hosted, so how do I check the collation of the server and the database?  Also, the upgrade is handled through the default upgrade script, how do I set it for case insensitive?

I can get the database migrated to SQL 2005, and will before I try the upgrade again.  However my other upgrades were all done on SQL2000 with no issue.

I'm looking at all of the modules and such, is there an installation log that might shed more light on the issue?

Cheers


-----
Cheers
Dave
 
New Post
1/16/2010 7:51 AM
 

Dave,

upgrading a site from a very early version like 3.2 to current, I always prefer to perform locally on my own machine with SQL Server and IIS under my control. Collation issues occur, if two columns use different collation, in most cases this happens if DNN database collation and server collation don't match, which is used for temp tables. This should at least solve the user upgrade issues. you might ignore the folder issues, AFAIR this has been corrected a number of times in multiple versions and should be fine, after you passed them all.

Regarding module upgrades, the result should be logged in DNN EventLog.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Big Upgrade, almost there... 3.2.2 to 5.1.4Big Upgrade, almost there... 3.2.2 to 5.1.4


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