SQL Server Error Msg 35252 – The command can only be run on a secondary database. Connect to the correct secondary replica, and retry the command.

In this blog post, let’s learn about the error message “35252 – The command can only be run on a secondary database. Connect to the correct secondary replica, and retry the command.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

35252 – The command can only be run on a secondary database. Connect to the correct secondary replica, and retry the command.

Reason for the Error

To be update soon…

Solution

To be update soon…