Solved

Help!! Prob with starting merge replication...

Posted on 2003-12-09
4
414 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

816 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

10 Experts available now in Live!

Get 1:1 Help Now