设置如下:
带有合并发布的SQL Server 2008 Enterprise Server。
带请求订阅的SQL Server 2005 Express。
没有Web或FTP设置。这是直接合并复制。
使用C中的RMO对象,在访问mergepullsubscription.synchronizationagent属性时,我得到一个“class cannot found.”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?,?).
有什么想法吗?