Msg 22001, Level 1, State 1 Msg 21028, Level 16, State 1, Procedure sp_MS_replication_installed, Line 35 (Batch Start Line 0) Replication components are not installed on this server. Run SQL Server Setup again and select the option to install replication.
To check whether SQL Server replication is installed in a server or not, you can use the below methods.
Method 1
-
Open
SQL Server Installation Center
-
Click
Tools
and then clickInstalled SQL Server features discovery report
on the right side.


Method 2
Execute the below query and check the result. If it returns 1, then replication is installed in the server. This stored procedure is actually checking the registry and returns the result.