- Veeam Support Knowledge Base
- AlwaysOn Availability Groups cannot be selected while restoring a SQL database to Microsoft SQL Server 2017 after installation of CU15
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 |
| Published: | 2019-07-11 |
| Last Modified: | 2020-08-13 |
Get weekly article updates
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
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.
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
mofcomp %programfiles(x86)%\Microsoft SQL Server\140\Shared\sqlmgmproviderxpsp2up.mof
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.