We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How to set @identityrangemanagementoption property is "auto".

Medium Priority
2,030 Views
Last Modified: 2012-05-07
I have a problem generating a snapshot for merge replication on an SQL Server 2005 database.
The error message is as follows:-

The identity range allocation entry for the Publisher could not be found in the
 system table MSmerge_identity_range.
Ensure that the value for the @identityrangemanagementoption property is "auto".

How do I set the @identityrangemanagementoption property to "auto" ?
Comment
Watch Question

you can set it from sp_addmergearticle

have a look at following link

http://msdn.microsoft.com/en-us/library/ms174329.aspx

Author

Commented:
Thanks for the information, I adopted another approach because I had 51 articles to set up.
I removed the publisher and he subscriber and then set up the publisher again from scratch and that cured the problem. Prior to that, I inspected the properties of each article that was published and all were set to Automatic in any case so I think we were on the wrong track.
I have awarded the points to you anyway.

Best regards,

Roger
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.