Avatar of itsonlyme4
 asked on

SQL Server Replication

I am attempting to get Transactional Replication going from a SQL Server 2005 instance to a Database on a SQL Server 2008 R2 Instance.

Complicated by the fact that the 2 Servers are in Different Domains.

Opened the Network Firewall to allow TCP traffic from one Server to another on Port 1433. And verified that TCP traffic is indeed working. on the Source Server, I added an entry to the hosts file to map the IP of the destination Server to the SQL Server Instance name. I opened SQL Server MGT Studio on the SQL Server 2005 box and was able to connect to the SQL Server 2008 Instance in the other Domain.

I then connected to my Publisher (SQL Server 2005 server) When I attempt to start a new Subscription to the SQL Server 2008 Server, I get this Error:

The selected Subscriber does not satisfy the minimum version compatibility level of the selected publication. (New Subscription Wizard).

So I went to my Desktop (where I am running the SQL Server 2008 Client) and connected to the SQL Server 2005 Server (Publisher). When I attempt to start a new Subscription (Add Subscriber) to the SQL Server 2008 Server, I get this Error:

Failed to connect to server My2008Server. (Microsoft.SqlServer.ConnectionInfo)
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

Seems odd that I can go to the SQL Server 2005 Server and connect to the SQL Server 2008 Instance via Mgt Studio- but I cannot add it as a Subscriber.

Can anyone help?
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008

Avatar of undefined
Last Comment
Vitor Montalvão

8/22/2022 - Mon
Vitor Montalvão

Which SP is installed in the SQL Server 2005 instance?
Also, did you open the firewall on both directions or only from SQL 2005 to 2008?

I ended up solving this by adding an entry to the hosts file on my laptop to map the hostname of the subscriber server to it's IP address.   I had done that on the Publication Server but not on my laptop.
Vitor Montalvão

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes