How to set @identityrangemanagementoption property is "auto".

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" ?
LVL 2
Roger AlcindorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RiteshShahCommented:
you can set it from sp_addmergearticle

have a look at following link

http://msdn.microsoft.com/en-us/library/ms174329.aspx
0
RiteshShahCommented:
0
Roger AlcindorAuthor 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
0
RiteshShahCommented:
thanks for the points but I guess it is not awarded so far :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.