This post shows on of the possible solutions to the following error for replication setting up.
“Could not connect to server ‘Server1’ because ‘Server2’ is not defined as a remote server. Verify that you have specified the correct server name. . (Microsoft SQL Server, Error: 18482)”
This is what happened when you want to test Server2 from Server1. I resolve this by
1. Open the Server2 Linked Servers in Server1 .
2. Select Be made using the login’s current security context .
![SQL Server replication Could not connect to server ‘Server1’ because ‘Server2 ...]()
3. Select Server Options on the left.
4. I set my options as followed.
![SQL Server replication Could not connect to server ‘Server1’ because ‘Server2 ...]()
“Could not connect to server ‘Server1’ because ‘Server2’ is not defined as a remote server. Verify that you have specified the correct server name. . (Microsoft SQL Server, Error: 18482)”
This is what happened when you want to test Server2 from Server1. I resolve this by
1. Open the Server2 Linked Servers in Server1 .
2. Select Be made using the login’s current security context .

3. Select Server Options on the left.
4. I set my options as followed.
