Option 2. Change the server in system table using below command.
commands:
select * from sys.servers where server_id=0sp_dropserver <Server Name which is showing in result>gosp_addserver <Server Name by which you connect the SQL instance>, LOCALgo
I tried as same as your steps. But i faced same issue. Actually my requirement is 2014 server is subscriber and 2012 is publisher. As of now I tried to fix the issue, but never get to succeed.
Well... can you try by creating the aliase of subscriber at publisher server.
Murali Gvr
ASKER
Distributor is Local.
Actually Publisher is Local server(2012 Standard) and Subscriber (2014 Standard) which is Cloud Server(AWS). I used to change the actual server name as 'es' server name. Even I tried to Replication from Local(2012) to AWS(2012) using same procedure it's working on good condition. Please help me how to fix this issue.
Regards
Murali
Deepak Chauhan
for which server you are getting connection error "can not connect to "SUbscriber" or Publisher\Distributor"
Have you checked the local server name.
SELECT SERVERPROPERTY(N'<servername>')
SELECT @@SERVERNAME
also check the server name and network name.
sp_helpserver
Are you able to connect all instance in ssms by the name which you are using in replication?
To know more please go to my blog http://sqltechtips.blogspot.in/2016/02/fix-transactional-replication-error.html