KB4040519 - FIX: Automatic seeding in Availability Groups randomly causes error 41169 in SQL Server 2016 or 2017

Symptoms

You set AlwaysOn Availability Group automatic seeding in an instance of Microsoft SQL Server 2016 or 2017. After you add the database to the Availability Group, you receive an error message that resembles the following in the instance that's holding the secondary replica:

Error 41169: An error occurred while attempting to access the availability group database with ID '%.*ls' in availability group '%.*ls'. The availability database is not found in the availability group configuration. Verify that the availability group name and availability database ID are correct, then retry the command.

Cause

This issue occurs because automatic seeding may randomly fail to initialize the availability database.

Resolution

This fix is included in the following cumulative updates for SQL Server:

 Cumulative Update 1 for SQL Server 2017

Cumulative Update 5 for SQL Server 2016 Service Pack 1

About SQL Server builds

Each new build for SQL Server contains all the hotfixes and all the security fixes that were included with the previous build. We recommend that you install the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2017

latest build for SQL Server 2016.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×