代码之家  ›  专栏  ›  技术社区  ›  Jeremy

复制:带有SQL Server Express 2005订阅服务器的SQL Server 2008发布服务器

  •  0
  • Jeremy  · 技术社区  · 15 年前

    设置如下:

    带有合并发布的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?,?).
    

    有什么想法吗?

    1 回复  |  直到 15 年前
        1
  •  3
  •   Remus Rusanu    15 年前

    关于这个主题的BOL参考文献是 Using Multiple Versions of SQL Server in a Replication Topology . 此处列出了支持的拓扑和限制,包括以下信息:

    对于SQL Server 2005,最小值为 版本是Service Pack 2(SP2)。

    你的快车是1399,意思是 RTM ,因此不支持拓扑。