Sometimes when we try to configuration relpication we might receive the below error which says that "SQL Server replication requires the actual server name to make connection to the server"
This can happen during the situations
In the second case, to fix the issue we need to update the system catalogs by dropping and adding the server and restarting the SQL Server services. The updation of system catalogs can be done using the below queries.
This can happen during the situations
- When you are connected to the server in object explorer using the IP address
- When the actual server host name hosting the SQL server database engine is changed
In the second case, to fix the issue we need to update the system catalogs by dropping and adding the server and restarting the SQL Server services. The updation of system catalogs can be done using the below queries.
USE master GO EXEC sp_dropserver 'OldServerName' USE master GO EXEC sp_addserver 'NewServerName',local