Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Site shows downgrade error after upgrade

« Go Back

Information

 
Article Number000071654
EnvironmentProduct: Sitefinity
Version: 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, 11.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
Site shows errors after upgrading another Sitefinity site environment, showing an error referencing downgrade.
Steps to Reproduce
Clarifying Information
Error MessageThe database schema version xxx is higher than the running Sitefinity version xxx. Downgrade is not allowed.
Defect/Enhancement Number
Cause
The error is due to the database version and Sitefinity version not being equal.

This occurs due to an upgrade process that has been initiated in a second environment while using the database from the first environment. As a result, this will cause the version stored in the database to be different from the version on the site from the first environment.
<add connectionString="data source=.\SQL2014;Integrated Security=SSPI;initial catalog=Database"
name="Sitefinity" IgnoreDowngradeExceptions="true" />
Resolution

The following options are available in order to restore the site functionality:

  • Restore a copy of the database before upgrading the second environment as a separate database, then connect the first environment to this database.
  • Upgrade the failing environment to the same version of Sitefinity as the error mentions.
  • If the site runs Sitefinity 8.2.5900 it can ignore the downgrade exceptions in order to prevent this error and give time to the site admins to make the version of Sitefinity assemblies and the database the same. To use ignoreDowngradeExceptions functionality refer to this Sitefinity documentation, upgrades and database https://docs.sitefinity.com/upgrades-and-database. NOTE: the connection string must reside in App_Data/Sitefinity/Configuration/DataConfig.config to use this parameter.
<add connectionString="data source=.;Integrated Security=SSPI;initial catalog=Database"
name="Sitefinity" IgnoreDowngradeExceptions="true" />


 
Workaround
Notes
Attachment 
Last Modified Date10/8/2018 1:23 PM