Try our conversational search powered by Generative AI!

Confusing error message if database has newer version than assemblies require

Found in

EPiServer.CMS.Core 10.6.0

Fixed in

EPiServer.CMS.Core 11.8.1

(Or a related package)

Created

May 21, 2018

Updated

Jun 04, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

If the database has an older version than the assemblies require, the error message is informative and helpful. However, if it's the other way around, the error message is confusing:

The database schema for 'CMS' has not been updated to version '7052.0', current database version is '7053.0'. Update the database manually by running the cmdlet 'Update-EPiDatabase' in the package manager console or set updateDatabaseSchema="true" on episerver.framework configuration element.

In this case, upgrading the database is not the solution. They should either downgrade the database, or upgrade the assemblies.

Reported from https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2018/5/what39s-wrong-with-this-error-the-database-schema-for-39cms39-has-not-been-updated-to-version-397052.039-current-database-version-is-397053.039/