SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Primary key violation when database is subscribed
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shobhaaradhya
Starting Member

37 Posts

Posted - 10/10/2012 :  02:33:25  Show Profile  Reply with Quote

Hi,

I am working on publishing and subscribing. I published a database and subscribed it. Now when start testing on my subscribed database i am getting primary key violation. I know its because the primary key id range is not correct. But dont know how can I correct it.


Can anyone help me how can I do it. I am using sqlserver 2000 and sql server 2005.


Thanks in advance

webfred
Flowing Fount of Yak Knowledge

Germany
8765 Posts

Posted - 10/10/2012 :  02:56:46  Show Profile  Visit webfred's Homepage  Reply with Quote
What are you doing when you say "testing on my subscribed database "?


Too old to Rock'n'Roll too young to die.
Go to Top of Page

shobhaaradhya
Starting Member

37 Posts

Posted - 10/10/2012 :  03:17:02  Show Profile  Reply with Quote
I am trying to insert data to few tables.



quote:
Originally posted by webfred

What are you doing when you say "testing on my subscribed database "?


Too old to Rock'n'Roll too young to die.

Go to Top of Page

webfred
Flowing Fount of Yak Knowledge

Germany
8765 Posts

Posted - 10/10/2012 :  03:42:23  Show Profile  Visit webfred's Homepage  Reply with Quote
So you have a transactional replication and you can make your changes only on the publisher side unless you have a merge replication.


Too old to Rock'n'Roll too young to die.
Go to Top of Page

shobhaaradhya
Starting Member

37 Posts

Posted - 10/10/2012 :  04:08:51  Show Profile  Reply with Quote
Hi,

Thanks for a quick reply. Can you suggest me some good links where I can get info on this. Please

Thanks,


quote:
Originally posted by webfred

So you have a transactional replication and you can make your changes only on the publisher side unless you have a merge replication.


Too old to Rock'n'Roll too young to die.

Go to Top of Page

webfred
Flowing Fount of Yak Knowledge

Germany
8765 Posts

Posted - 10/10/2012 :  05:05:06  Show Profile  Visit webfred's Homepage  Reply with Quote
You can start here
http://technet.microsoft.com/en-us/library/ms151198.aspx
then follow the links.

After reading that you can google for particular questions...


Too old to Rock'n'Roll too young to die.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000