
Connie Wooding (State of Florida) asked a question.
The database schema and Sitefinity version are different (8146 vs 8132), so it looks like the Sitefinity version needs to be updated to match the database schema version. I think installing the security patch messed us up. I found Internet articles about NuGet. We don't have a NuGet config file. How can this get fixed?
Resolution for future searchers. There are a couple of issues mentioned in the original post.
1) The database schema and Sitefinity version are different (8146 vs 8132)
If a Sitefinity upgrade is run locally, but a remote site or other developers use the same database, other users of the database can receive a message that says "Downgrade is not allowed". One option is to create a copy of the database that is used during the upgrade, so the other users of the database are not affected. A second option is to tell Sitefinity to ignore downgrade exceptions in the short time until the updated code is published to all users of a database. We do this by adding
"SF_IgnoreDowngradeExceptions=True" to the connection string for all users of the database.
2) How to resolve assembly binding errors?
Connie updated her site to 14.4.8147 using the Sitefinity CLI
When running the site, it had an error about System.Numerics.Vectors.
Reviewing web.config, we found an assembly binding that was forcing the site to look for and use version 4.1.5.
Looking at the reference in the visual studio solution explorer, we see that this version of Sitefinity comes with System.Numerics.Vectors version 4.1.4.
Updating the assembly binding in web.config to use version 4.1.4 fixed the problem.