这是设置:
带有合并发布的 SQL Server 2008 Enterprise Server。
带有请求订阅的 SQL Server 2005 Express。
没有 web 或 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?,?).
有任何想法吗?