复制同步失败; 发布者不在身份范围之内

我有一个SQL 2005发行商/分销商和大约100 SQL 2005 Express订户设置合并复制。 一切都工作好几个月,现在突然间,每个人都得到了以下错误。

我一直在谷歌search,但无济于事。 谁能提供一些见解? 我什至尝试删除用户的订阅。 我也试过运行 – >

sp_adjustpublisheridentityrange @publication='MyDB'

无论如何,这里是错误 – >

 Error messages: The Publisher failed to allocate a new set of identity ranges for the subscription. This can occur when a Publisher or a republishing Subscriber has run out of identity ranges to allocate to its own Subscribers or when an identity column data type does not support an additional identity range allocation. If a republishing Subscriber has run out of identity ranges, synchronize the republishing Subscriber to obtain more identity ranges before restarting the synchronization. If a Publisher runs out of identit (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199417) Get help: http://help/MSSQL_REPL-2147199417 Not enough range available to allocate a new range for a subscriber. (Source: MSSQLServer, Error number: 20668) Get help: http://help/20668 Failed to allocate new identity range. (Source: MSSQLServer, Error number: 21197) Get help: http://help/21197 

首先,您的计算机是否至less安装了Service Pack 3? 此错误通常是由Service Pack 2累积更新4修复的错误引发的。这可能是一个开始的地方。

如果你全部修好了,接下来我将检查你的标识列的数据types。 例如,如果他们当前是INT,并且发布者试图分配超出最大INT值(2,147,483,647)的范围,则会出现该错误。 您可以通过将您的标识字段更改为BIGINT来解决此问题。 有了100个订阅者,你的发布者必须分配大量的范围,所以这可能是可能的。

希望这可以帮助。