I am in the process of upgrading our SQL 2017 servers to the current CU. I have ran across two systems that won't allow me to apply the update. In the SQL installer, I see below text when I click on the SQL Instance name.
The version of SQL Server instance MSSQLSERVER does not match the version expected by the SQL Server update. The installed SQL Server product version is 14.0.3381.3, and the expected SQL Server version is 14.0.1000.169."
I am unsure where the installer pulls the version info from. I have compared the registry against a couple of other systems and nothing is standing out as being incorrect, so not sure where it is pulling the 14.0.1000.169 value for the "expected sql version". I tried removing the previous CU so I could reapply it, but it didn't appear that it removed fully as it was still in the add/remove programs screen. Everything I have found online points to older versions where people were trying to install CUs on top of the wrong Service Packs, which doesn't apply in this case since SQL 2017 doesn't have service packs.
Any ideas would be greatly appreciated.
14.0.3381.3
is CU23.14.0.1000.169
is RTM. It sounds like something is awry here. Is it possible that the CU23 install did not go smoothly on this server? You should be able to find the CU23 install logs atC:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\<datetime of CU install>\Summary_<Instancename>_<Datetime>.txt
Setup Boostrap
folder. There will be a folder for each successful or failed install. It has everything from the original service install to every CU. Wading through the summary.txt files can be a lot, but the CU23 install logs may be enlightening. Plus any failed installs since then.