SQLServer 事务复制分发错误 The process could not connect to Subscriber
2016-08-18 17:51
633 查看
非域环境创建事务复制,使用IP相互连接正常。都用IP创建数据库别名,这时使用服务器名相互连接也正常。
但是初始化复制时,失败了!其他服务器按别名配置的,都能正常复制。但是这两台服务器同样配置,却不成功!
分发进程无法连接到订阅服务器!错误如下:
Error messages:
The process could not connect to Subscriber 'DB-Subscriber'. (Source: MSSQL_REPL, Error number: MSSQL_REPL0)
Get help: http://help/MSSQL_REPL0 TCP Provider: 不知道这样的主机。 (Source: MSSQLServer, Error number: 11001)
Get help: http://help/11001 A network-related or instance-specific error has occurred while establishing a connection to SQL Server.
Server is not found or not accessible.
Check if instance name is correct and if SQL Server is configured to allow remote connections.
For more information see SQL Server Books Online. (Source: MSSQLServer, Error number: 11001)
Get help: http://help/11001 Login timeout expired (Source: MSSQLServer, Error number: HYT00)
Get help: http://help/HYT00
最后解决方法:hosts 文件中将IP和服务器名绑定。
C:\Windows\System32\drivers\etc\hosts
有点奇怪,有很多单向复制的服务器,都正常,唯独这台,需要在发布服务器的hosts绑定订阅服务器名称和IP。
注:此服务器是阿里云服务器,该服务器即是订阅服务器,也是另一组复制的发布和分发服务器。作为分发服务器需要绑定IP!
但是初始化复制时,失败了!其他服务器按别名配置的,都能正常复制。但是这两台服务器同样配置,却不成功!
分发进程无法连接到订阅服务器!错误如下:
Error messages:
The process could not connect to Subscriber 'DB-Subscriber'. (Source: MSSQL_REPL, Error number: MSSQL_REPL0)
Get help: http://help/MSSQL_REPL0 TCP Provider: 不知道这样的主机。 (Source: MSSQLServer, Error number: 11001)
Get help: http://help/11001 A network-related or instance-specific error has occurred while establishing a connection to SQL Server.
Server is not found or not accessible.
Check if instance name is correct and if SQL Server is configured to allow remote connections.
For more information see SQL Server Books Online. (Source: MSSQLServer, Error number: 11001)
Get help: http://help/11001 Login timeout expired (Source: MSSQLServer, Error number: HYT00)
Get help: http://help/HYT00
最后解决方法:hosts 文件中将IP和服务器名绑定。
C:\Windows\System32\drivers\etc\hosts
有点奇怪,有很多单向复制的服务器,都正常,唯独这台,需要在发布服务器的hosts绑定订阅服务器名称和IP。
注:此服务器是阿里云服务器,该服务器即是订阅服务器,也是另一组复制的发布和分发服务器。作为分发服务器需要绑定IP!
相关文章推荐
- ARCSDE直连Oracle时出现错误Failed to connect to the specified server. Underlying DBMS error[ORA-12154: TNS:could not resolve the connect identifier specified. No extended error]
- 41.【xcode】错误之Could not launch "" failed to get the task for process
- 【xcode】错误之Could not launch "" failed to get the task for process
- 同步复制错误:The process could not execute 'sp_replcmds' on 'servername'
- Could not connect to the view server 运行问题补充的脚本 提出上面的错误,怎么解决呢
- 【xcode】错误之Could not launch "" failed to get the task for process
- Could not connect to the player
- svn could not connect to the server 不能连接到服务器的解决方法
- “ORA-12154: TNS: could not resolve the connect identifier specified” error while creating a linked server to Oracle
- 服务器端安装ASP.NET运行环境错误Failed to execute request because the App-Domain could not be created. Error: 0x80131902
- sql中:The database could not be exclusively locked to perform the operation. 错误处理
- Godaddy服务器发送邮件出现Could not connect to SMTP host错误 解决办法
- 在服务器上用PHPMAIL发送邮件出现Could not connect to SMTP host错误 解决办法
- 关于 WMI Provider 不能连接的错误 - Cannot connect to WMI provider. You do not have permission or the server is unreachable.
- ORA-12154: TNS:could not resolve the connect identifier specified错误解决方案一
- Eclipse中使用SVN连接Google Code 报could not connect to server错误解决方法
- SharePoint designer 2010编辑List的表单时出现错误:soap:Server was unable to process request. ---> Value does not fall within the expected range
- Failed to connect the specified server.Server library could not be loaded
- Claims系列 - ID4036错误(The key needed to decrypt the encrypted security token could not be resolved from the following security key identifier)
- The database could not be exclusively locked to perform the operation(SQL Server 5030错误解决办法)