Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

error while creating AG | Failed to open the Windows Server Failover Clustering registry subkey 'HadrAgNameToIdMap' (Error code 2)

$
0
0

Please find the error while creating AG . 

any workarounds or any ideas to fix this error pls?

TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Availability Group 'xxxx'.  (Microsoft.SqlServer.Management.HadrModel)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=14.0.17277.0+((SSMS_Rel_17_4).180625-0100)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+AvailabilityGroup&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Failed to open the Windows Server Failover Clustering registry subkey 'HadrAgNameToIdMap' (Error code 2).  The parent key is the cluster root key.  If this is a WSFC availability group, the WSFC service may not be running or may not be accessible in its current state, or the specified arguments are invalid.  If the corresponding availability group has been dropped, this error is expected.  Otherwise, contact your primary support provider.  For information about this error code, see "System Error Codes" in the Windows Development documentation.
Failed to create availability group 'xxxxx'.  The operation encountered SQL Server error 41030 and has been rolled back.  Check the SQL Server error log for more details.  When the cause of the error has been resolved, retry CREATE AVAILABILITY GROUP command. (Microsoft SQL Server, Error: 41030)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=14.00.1000&EvtSrc=MSSQLServer&EvtID=41030&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------



Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>