irb56
asked on
SQL Server merge replication problem
Hi,
I have a PC running Windows 7 Pro and SQL Server 2008 R2 Developer, and a laptop running Windows 7 Home and SQL Server 2008 Developer. Both machines are connected to my wireless home network and I am able to connect to the other from SSMS on each machine. I would like to configure merge replication so that a particular database gets merged on demand (this will usually happen when I've been working on the database on my laptop offline and want to merge changes when I reconnect to home network).
I successfully set up the Distributor and Publisher on my PC. However, having set up the subscription on my laptop and started the merge agent (which I have configured to run on the subscriber side) I get an error:
The process could not connect to the Distributor...
Login failed for (<SQL Server Agent service account running on PC>)
The SQL Server Agent server accounts on both machines have been changed to Administrator types but this hasn't fixed the problem.
Can anyone help me work out where I'm going wrong please? Can this replication be set up without the machines in question belonging to a domain?
Thanks in advance.
I have a PC running Windows 7 Pro and SQL Server 2008 R2 Developer, and a laptop running Windows 7 Home and SQL Server 2008 Developer. Both machines are connected to my wireless home network and I am able to connect to the other from SSMS on each machine. I would like to configure merge replication so that a particular database gets merged on demand (this will usually happen when I've been working on the database on my laptop offline and want to merge changes when I reconnect to home network).
I successfully set up the Distributor and Publisher on my PC. However, having set up the subscription on my laptop and started the merge agent (which I have configured to run on the subscriber side) I get an error:
The process could not connect to the Distributor...
Login failed for (<SQL Server Agent service account running on PC>)
The SQL Server Agent server accounts on both machines have been changed to Administrator types but this hasn't fixed the problem.
Can anyone help me work out where I'm going wrong please? Can this replication be set up without the machines in question belonging to a domain?
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try using the same Local User ID and same password. Then even without all your machines in the domain, you can authenticate using Pass-Through authentication. Make the users Local Administrator as well as sysadmin in your SQL Servers.
Then configure your replication setup with this User and you should not face the problem anymore.
Thanks,
Avirup
Then configure your replication setup with this User and you should not face the problem anymore.
Thanks,
Avirup
ASKER
Thanks Avirup. I managed to crack the issue via a configuration change in the subscription (see my posting earlier).
Cool
ASKER
Thanks for your help.