How to correct the CU20 - KB5063814 security SQL patching failure

Luk, Ben 0 Reputation points
2025-08-20T19:32:30.9+00:00

We are trying to apply the security SQL patching - KB5063814 into an Azure SQL2022 instance; however, the patching is failed during the installation and we cannot even bring the SQL instance backup. Finally, we decided to restore the disks backup (good image before the crash) and successfully bring the SQL instance backup but all SQL replications configuration are gone.

User's image

And the error log shows

User's image

And the above causing the SQL instance failed to start.

SQL Server Database Engine
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 124.9K Reputation points MVP Volunteer Moderator
    2025-08-20T20:24:10.7666667+00:00

    It's not clear to me what your current situation is, but the root cause of the problem is that the table MSreplication_subscriptions is missing somewhere, possibly in the database HUBCMSSYS1. Assuming that this database is a subscriber, that table should be there. So I think you need to try to repair replication in this database.

    The missing table itself does not cause the script to fail, but there is some poor error handling, so that the stored procedure exists with an open transaction, and then later the upgrade fails entirely when trying to change the compatibility level inside a transaction.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.