【问题标题】:Local subscriptions error while connecting to remote publisher连接到远程发布者时本地订阅错误
【发布时间】:2015-03-18 03:25:34
【问题描述】:

我是合并复制的新手,所以可以预料到没有意义,

我做了什么。 1) 新的本地发布完成在远程服务器上。

当我尝试使用远程服务器进行本地订阅以选择发布服务器时,在服务器名称中我使用了远程服务器 ip 103.247.99.75,1232 登录 sa 和密码什么的。它给出了错误

  SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, 'WIN-281IHETPBD4'. (Replication.Utilities)

使用上述凭据连接到远程服务器正在使用 sql management studio。

有人告诉我你需要更新C:\Windows\System32\drivers\etc 中的主机文件。所以我在主机文件中添加了类似103.247.99.75,1232 WIN-281IHETPBD4 的条目。我以为我已经完成了修复,但我又遇到了同样的错误

【问题讨论】:

  • 为什么要投反对票???

标签: sql sql-server replication database-replication merge-replication


【解决方案1】:

复制在建立连接时需要实际的服务器名称。尝试使用服务器名称而不是 IP 地址添加本地订阅。

【讨论】:

    猜你喜欢
    • 2016-12-14
    • 2012-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-21
    相关资源
    最近更新 更多