I working on Creating a replication Between sqlserver on a non-trusted domain.But i have come to realize that i can only use the servername instead of the ip address of my server.I tried using the current server name i got from the sysadmin.But still connecting with the servername still display the same error:
sqlserver replication requires the actual servername to make connection
Connection throught a server alias,IP address, any other alternate are not supported
Specify the actual server name,'WIN-2JQ9ZRN3T'.(Replication.Utitilies).
I ran a script to show my server name:
Select @@SERVERNAME
The result was:WIN-2JQ9ZRN3T.This is very strange for me.I cannot connect with name i got from my sysad throught management studio,but on remote desktop i can remote connection using that name.
Now i want to update my servername using this script i came across on the internet:
sp_dropserver old-server-name
go
sp_addserver real-server-name, LOCAL
go
But i don't know what the impact would be because my predecessor configure a linkserver on the same server.Please advise