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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 5.6.0 failed? - Upgrade Log File DoesnUpgrade to 5.6.0 failed? - Upgrade Log File Doesn't Exist
Previous
 
Next
New Post
11/19/2010 1:46 PM
 
I was looking through the logs on our site and the 5.6.0 log reported this from within the host settings.

"A log file does not exist for the script version specified. This generally indicates that the script was never executed."

Even though there was a error during the upgrade process, I am able to access the site and it reports the DotNetNuke version as 5.6.0. I tried to rerun the installer but nothing happens.
 
So is there a way that I can rerun the script manually? Otherwise since it appears my database backup is corrupted, I may resort to creating a new database and site and repopulate it.
 
New Post
11/20/2010 12:09 AM
 
You can find upgrade script for 5.6 here: ~\Providers\DataProviders\SqlDataProvider\05.06.00.SqlDataProvider

I suppose you can go to Host > SQL and execute this script without any problems as far as it checks if 5.6 changes were applied already or not

Papayas DnnAutoUpgrade - automatic DotNetNuke upgrade without any problems!
www.papayasdnn.com
 
New Post
11/20/2010 12:28 AM
 
I just tried that. I get this error.

System.Data.SqlClient.SqlException (0x80131904): 'IX_Lists_ParentID' 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.TdsParser.ThrowExceptionAndWarning() 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.ExecuteScript(String ConnectionString, String Script) IF EXISTS (SELECT * FROM sys.indexes WHERE name = N'IX_Lists_ParentID') ALTER TABLE dbo.[Lists] DROP CONSTRAINT [IX_Lists_ParentID] System.Data.SqlClient.SqlException (0x80131904): The operation failed because an index or statistics with name 'IX_Lists_ParentID' already exists on table 'Lists'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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.ExecuteScript(String ConnectionString, String Script) CREATE INDEX IX_Lists_ParentID on [Lists] (ParentID ASC) on [PRIMARY] System.Data.SqlClient.SqlException (0x80131904): 'IX_Lists_ListName_ParentID' 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.TdsParser.ThrowExceptionAndWarning() 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.ExecuteScript(String ConnectionString, String Script) IF EXISTS (SELECT * FROM sys.indexes WHERE name = N'IX_Lists_ListName_ParentID') ALTER TABLE dbo.[Lists] DROP CONSTRAINT [IX_Lists_ListName_ParentID] System.Data.SqlClient.SqlException (0x80131904): The operation failed because an index or statistics with name 'IX_Lists_ListName_ParentID' already exists on table 'Lists'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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.ExecuteScript(String ConnectionString, String Script) CREATE INDEX IX_Lists_ListName_ParentID on [Lists] (ListName ASC, ParentID ASC) on [PRIMARY]

In the readout of the script is this little tidbit of info but I'm not sure how to do it.

/************************************************************/
/*****              SqlDataProvider                     *****/
/***** Note: To manually execute this script you must   *****/
/*****       perform a search and replace operation     *****/
/*****       for {databaseOwner} and {objectQualifier}  *****/
/************************************************************/
 
New Post
11/20/2010 6:09 AM
 
there seem to be an issue with your Lists table. The script tries to drop and recreate 2 indexed for optimization, but fails for some reason (I don't really see why. You may either ignore it (and live with current performance) or drop both indexes manually and rerun the script.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/21/2010 2:25 PM
 
Steve;
From which DNN version are you upgrading?

Ken Grierson
DotNetNuke Corporation
Test Lead
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 5.6.0 failed? - Upgrade Log File DoesnUpgrade to 5.6.0 failed? - Upgrade Log File Doesn't Exist


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