发布者的rpc安全信息丢失

时间:2010-09-17 21:18:54

标签: sql-server

我使用sql server 2008发布者和sql server 2005表示订阅者, 当我从订阅者插入表时发生此错误:

   Msg 21079, Level 16, State 1, Procedure sp_getpublisherlink, Line 52
The RPC security information for the Publisher is missing or invalid. Use sp_link_publication to specify it.
Msg 20512, Level 16, State 1, Procedure sp_MSreplraiserror, Line 8
Updateable Subscriptions: Rolling back transaction.
Msg 3609, Level 16, State 1, Line 1
The transaction ended in the trigger. The batch has been aborted.

从发布者插入表格时,所有的东西都可以。

1 个答案:

答案 0 :(得分:2)

尝试在订阅者上创建链接。在您的订户数据库上运行此命令。

sp_link_publication @publisher = '{publisher instance name}'
, @publisher_db = '{published database name}'
, @publication = '{publication name}'
, @security_mode = '1'
, @login = '{sql server login account to connect publisher}'
, @password = '{password}'
, @distributor = '{distributor instance name}'