我需要做兩個數據庫同步
配置使用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)

解决方案 »

  1.   

    因為從未弄過Replication
    可能是個很簡單的小問題
      

  2.   

    两边服务器要先开启/配置replication的功能,然后再回到发送端新建发布/订阅..
      

  3.   

    SQL Server Management Studio-->实例-->Replication-->右键
    -->Configure distribution-->然后都是全界面操作的了.. (基本上全选[下一步]即可)两边都做完这一步配置之后,再开始建发布订阅.
      

  4.   

    检查Windows验证及SQL验证是否都启用了.先disable distribution再重新Configure distribution试试..
      

  5.   

    两个验证都开启了
    服务器以前没有配置过Replication的
    进来就开始Configure distribution
    我现在怀疑是服务器本身有什么设置不当造成的
    但又不知道是哪?因为我在另一台机器上新装一个SQLServer
    照资料配置就成功
    没报这个错的可这台会报错的确服务器是使用中的服务器
    必须找出问题所在才行
      

  6.   

    查看sql service的启动帐号是什么? 改为local system试试..