0

我在两个数据库 SQLServer 2012 之间创建合并/拉取复制时遇到配置问题。

机器Publisher是一个不在windows域的Windows Server 2008 R2,这个Server也是Distributor。机器订阅者是不在 Windows 域中的 Windows 8。

我进行了以下设置:在已发布服务器中,我创建了分发服务器的文件夹“repldata”,并且我还与 suser “每个人完全控制”共享了它。路径的文件夹是 \servername\repldata

见图片:www.alessandrosenesi.com/download/distributor.jpg

我创建了 Publisher,见图:www.alessandrosenesi.com/download/Publisher.jpg

我创建了订阅者,请参阅图片:www.alessandrosenesi.com/download/subscriber.jpg

我在 Distributor、Publisher 和 Subscriber 中做了一些设置,但我没有得到结果,我总是遇到访问错误。

见图片:www.alessandrosenesi.com/download/log.jpg


Error messages:
The schema script 'BOOKING_2.sch' could not be propagated to the subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)

The process could not read file '\\nomemacchina\repldata\unc\nomemacchina$MSSQLSER VER2012_nomereplica\20130930125944\BOOKING_2.sch' due to OS error 5. (Source: MSSQL_REPL, Error number: MSSQL_REPL0)

Access Denied.
(Source: MSSQL_REPL, Error number: MSSQL_REPL5)

你能告诉我问题出在哪里吗?我必须进行此复制,但看起来不可能

提前感谢亚历山德罗

4

2 回答 2

0

Replication across two non-trusted domains or workgroups can be done by using Windows Authentication by configuring pass-through authentication.

Create a local Windows account on both the Publisher and Subscriber that has the same username and password. Use this account for the Merge Agent process account and have the connections to the publisher and distributor impersonate the agent process account. Ensure the account has the permissions required in Replication Agent Security Model.

This approach is covered in the section Use Windows Authentication to Set Up Replication Between Two Computers Running SQL Server in Non-Trusted Domains in HOW TO: Replicate Between Computers Running SQL Server in Non-Trusted Domains or Across the Internet.

If you have anymore questions please let me know. I hope this helps.

于 2013-10-01T15:54:42.970 回答
0

此权限问题。需要检查文件中的帐户完整权限。

于 2017-07-11T20:34:03.737 回答