SQL Server Error Code – 978 the target database (?%.*ls?) is in an a

In this blog post, you’ll learn more about the SQL Server Error Code 978 and the error message description that is shown

SQL Server Error Code

978

SQL Server Error Description for the Code :978

The target database (?%.*ls?) is in an availability group and is currently accessible for connections when the application intent is set to read only. For more information about application intent, see SQL Server Books Online.