日期:2014-05-18  浏览次数:20909 次

配置Replication報錯
我需要做兩個數據庫同步
配置使用Replication。參考網上的一些相關資料進行,到最後一步時出現下面錯誤提示,不明白具體是哪裡有問題,請各位朋友幫看看

Messages
SQL Server could not configure 'HSUAT01' as a Distributor. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

An error occurred during decryption.
There is no remote user 'distributor_admin' mapped to local user '(null)' from the remote server 'repl_distributor'.
Changed database context to 'master'. (Microsoft SQL Server, Error: 15466)

------解决方案--------------------
SQL Server Management Studio-->实例-->Replication-->右键
-->Configure distribution-->然后都是全界面操作的了.. (基本上全选[下一步]即可)

两边都做完这一步配置之后,再开始建发布订阅.
------解决方案--------------------
检查Windows验证及SQL验证是否都启用了.

先disable distribution再重新Configure distribution试试..
------解决方案--------------------
查看sql service的启动帐号是什么? 

改为local system试试..