SQLServer Error: 4060, Cannot open database in Availability Group DB

  • SQL Server Strange behavior:

    I have been Getting the following error massages nonstop after full backup fails. this massage gets generated for each database in this Availability Group.  The job runs every night, and it call SSIS package. Both the SSIS and Job seems okay and the tricky part is that job fails once in a while like once in 10 days or so.

    [298] SQLServer Error: 4060, Cannot open database "testDB" requested by the login. The login failed. [SQLSTATE 42000]

    [298] SQLServer Error: 18456, Login failed for user 'Test\test-user-sql'. [SQLSTATE 28000]

      <li style="list-style-type: none;">

    •  Instance type ; SQL Server 2016 AG with 2 replicas synchronized.
    • Multiple database configured in this AG
    • Backup preference; any replica

    Did I miss something here?

    Thank you


  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • This was removed by the editor as SPAM

Viewing 3 posts - 1 through 2 (of 2 total)

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