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?
itsonlyme4Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
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?
0
itsonlyme4Author Commented:
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.
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
So, it was a DNS issue.
You could even create an alias on the server.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.