connection handshake error while configuring availability group.

  • Hi,

    below error is observed while its trying to join the database in availability group:-

    Database Mirroring login attempt by user 'ARBIFTUAT1\UATDAQMDWDB02$.' failed with error: 'Connection handshake failed. The login 'ARBIFTUAT1\UATDAQMDWDB02$' does not have CONNECT permission on the endpoint. State 84.'.

    we tried below:
    grant
    connect on endpoint::Hadr_endpoint to 'ARBIFTUAT1\UATDAQMDWDB02$
    but there is no such login as above, also tried creating another login and then granting the same still same problem persists.

  • please provide more detail around your setup such as user accounts running the sql services and your exact sql server version

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

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • This was removed by the editor as SPAM

  • we tried creating local administrator account in both the servers and now it is working fine.
    but
    after stopping the primary services still the secondary database isn't synchronized and I am getting the below error:-

    Msg 976, Level 14, State 2, Line 1

    The target database, 'db1', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.

    Msg 208, Level 16, State 1, Line 3

    Invalid object name 'test'.

  • 21.naved - Sunday, February 19, 2017 10:32 PM

    we tried creating local administrator account in both the servers and now it is working fine.
    but
    after stopping the primary services still the secondary database isn't synchronized and I am getting the below error:-

    Msg 976, Level 14, State 2, Line 1

    The target database, 'db1', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.

    Msg 208, Level 16, State 1, Line 3

    Invalid object name 'test'.

    the message is pretty descriptive!

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

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply