Solved

Help!! Prob with starting merge replication...

Posted on 2003-12-09
4
412 Views
Last Modified: 2012-05-04
Hi there. I want to try set up merge replication from one machine to another, but I dont want to bulk copy the tables as the data already exists in the other database. Ive been testing the scenario out on a basic DB. It has one table and has a uniqueidentifier and another char col. The other database I am replicating to has exactly the same data. The create tasble statement is here:
CREATE TABLE [dbo].[testTable] (
      [rowGUID]  uniqueidentifier ROWGUIDCOL  NOT NULL ,
      [val] [char] (10) COLLATE Latin1_General_CI_AS NOT NULL
) ON [PRIMARY]

When I try to start synchronising I get the following error:
Invalid column name 'rowguidcol'.

Any ideas on this?? On the real database all my tables use Uniqueidentifiers as the primary key just like the table above...
0
Comment
Question by:Slimshaneey
  • 3
4 Comments
 
LVL 8

Expert Comment

by:dishanf
ID: 9903075
is there any col like this >> rowguidcol
0
 
LVL 11

Author Comment

by:Slimshaneey
ID: 9903102
No, just 2 cols in the table. you can see them both if you look at the create table statement used for both databases
0
 
LVL 8

Accepted Solution

by:
dishanf earned 500 total points
ID: 9903299
0
 
LVL 8

Expert Comment

by:dishanf
ID: 9903312
I am under the impression you selected "No, the subscriber already has
the schema and data." If the subscribing articles do have rowguid
columns, you will get this error message.  A solution would be to
initialize the schema and data at the subscriber or generate the
publisher's database script (if you previously had replication
configured) and apply it to the subscriber and then
select "No, the subscriber already has the schema and data. Hope that
helps.
>

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now