I allowed a Windows Update to run on the server hosting SQL Server 2014. When I tried to run the MDS Configuration Manager, I got "This database requires an upgrade. You cannot change system settings until the database is upgraded." I clicked the Upgrade Database and got this exception:
Microsoft.MasterDataServices.Configuration.ConfigurationException: Column names in each view or function must be unique. Column name 'VersionNumber' in view or function 'EntityHistory' is specified more than once. ---> System.Data.SqlClient.SqlException:
Column names in each view or function must be unique. Column name 'VersionNumber' in view or function 'EntityHistory' is specified more than once.
at Microsoft.MasterDataServices.Configuration.DatabaseUtilities.UpgradeMasterDataServicesDatabase(SqlConnection connection, String databaseName, Collection`1& businessRuleExclusionWarnings)
at Microsoft.MasterDataServices.Configuration.Commands.UpdateMasterDataServicesDatabase.InternalProcessRecord()
at Microsoft.MasterDataServices.Configuration.Commands.ConfigurationCmdlet.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
--- End of inner exception stack trace ---
at Microsoft.MasterDataServices.Configuration.InstanceManager.Execute(Command command)
at Microsoft.MasterDataServices.Configuration.InstanceManager.UpgradeMasterDataServicesDatabase(DatabaseServerInformation serverInformation, DatabaseInformation databaseInformation)
at Microsoft.MasterDataServices.Configuration.UI.ServerManagement.ConfigurationAdministration.UpgradeDatabase(DatabaseInformation databaseInformation)
at Microsoft.MasterDataServices.Configuration.UI.MdsDatabase.UpgradeDatabase()
"EntityHistory" is an entity I created with MDS Configuration Manager before the Windows Update occurred.
I have a series of SSIS packages that continue to load data into the database, so it appears to be ok.
I have no idea what to do now. Please help.