AlwaysOn Availability Groups cannot be selected while restoring a SQL database to Microsoft SQL Server 2017 after installation of CU15

KB ID:
2977
Product:
Veeam Backup & Replication
Version:
Published:
Last Modified:
2019-07-12

Challenge

You try to restore a SQL database to Microsoft SQL Server 2017 with CU15 that supports AlwaysOn Availability Groups, but you are not able to select an availability group at the "Specify AlwaysON Restore Options" step.

Cause

ServerNetworkProtocolProperty is missing in CU15 for SQL Server 2017 VMI class. This class is used during the restore process.

In SQL Explorer log files, you can see the following record: 

Failed to resolve TCP/IP port. Invalid class
Missing class will lead to restore issues if the following is true:
- SQL server is running on non-default (1433) port.
- SQL Server Browser service is not running.

Solution

On the SQL Server, run the following command to recompile MOF files for the WMI SQL Classes:

mofcomp %programfiles(x86)%\Microsoft SQL Server\140\Shared\sqlmgmproviderxpsp2up.mof

Rate the quality of this KB article: 
3.3 out of 5 based on 2 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text:

Submit