Reputation: 21
I have 2 servers:
I can connect easily to the online server using the local SSMS, but when i try to create a subscription from the local server it gives me the following error:
SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, 'kkkkk'. (Replication.Utilities)
kkkkk is the name of the online server.
i searched a lot, just always the answer was related to that the name of one of the servers has been changed. but this is not the case for me.
Im stuck and not sure what to do, i think its a misleading error message.
Thanks
Upvotes: 2
Views: 2775
Reputation: 6834
You have to cheat. Add to %windir%\system32\drivers\etc\hosts file line like 1.2.3.4 publishername
where 1.2.3.4 - remote server's IP and publishername - required name
Upvotes: 1