复制:SQL Server 2008 Publisher与SQL Server Express 2005订阅服务器

时间:2010-04-10 04:27:57

标签: sql-server-2005 sql-server-2008 replication sql-server-express database-replication

以下是设置:

带有合并出版物的SQL Server 2008 Enterprise Server。

带有订阅的SQL Server 2005 Express。

没有网络或ftp设置。这是直接合并复制。

使用C#中的RMO对象,我得到一个“找不到类”。访问MergePullSubscription.SynchronizationAgent属性时出现COM错误。我试过了2008 RMO dll(版本10 dll)和2005 RMO dll(版本9 dll)。

尝试使用replmerge.exe时,我得到以下内容:

2010-04-10 04:12:05.263 Microsoft SQL Server Merge Agent 9.00.1399.06
2010-04-10 04:12:05.294 Copyright (c) 2000 Microsoft Corporation
2010-04-10 04:12:05.294
2010-04-10 04:12:05.294 The timestamps prepended to the output lines are express
ed in terms of UTC time.
2010-04-10 04:12:05.294 User-specified agent parameter values:
                        -Publisher SUN
                        -PublisherDB PRIMROSE
                        -PublisherSecurityMode 1
                        -Publication PRIMROSE
                        -Distributor SUN
                        -DistributorSecurityMode 1
                        -Subscriber PVILLE\SQLEXPRESS
                        -SubscriberSecurityMode 1
                        -SubscriberDB PRIMROSE
                        -SubscriptionType 1
                        -DistributorLogin sa
                        -DistributorPassword **********
                        -DistributorSecurityMode 0
                        -PublisherLogin sa
                        -PublisherPassword **********
                        -PublisherSecurityMode 0
                        -SubscriberLogin sa
                        -SubscriberPassword **********
                        -SubscriberSecurityMode 0
2010-04-10 04:12:05.325 Connecting to Subscriber 'PVILLE\SQLEXPRESS'
2010-04-10 04:12:05.481 Connecting to Distributor 'SUN'
2010-04-10 04:12:05.513 The version of SQL Server running at the Distributor(10.
0.2531.?♠?♠???♠?♠?♠?♠?♠?♠) is not compatible with the version of SQL Server runn
ing at the Subscriber(9.00.1399.?♠?♠???L?L?LHL?L?L?L?,?).
2010-04-10 04:12:05.513 Category:NULL
Source:  Merge Process
Number:  -2147200979
Message: The version of SQL Server running at the Distributor(10.0.2531.?♠?♠???♠
?♠?♠?♠?♠?♠) is not compatible with the version of SQL Server running at the Subs
criber(9.00.1399.?♠?♠???L?L?LHL?L?L?L?,?).

有什么想法吗?

1 个答案:

答案 0 :(得分:3)

关于该主题的BOL参考是Using Multiple Versions of SQL Server in a Replication Topology。其中列出了支持的拓扑和限制,包括以下信息:

  

对于SQL Server 2005最低限度   版本是Service Pack 2(SP2)。

您的Express是1399,这意味着RTM,因此不支持拓扑。