Solved

Help!! Prob with starting merge replication...

Posted on 2003-12-09
4
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Expert Comment

by:Dishan Fernando
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:
Dishan Fernando earned 500 total points
ID: 9903299
0
 
LVL 8

Expert Comment

by:Dishan Fernando
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tempdb Contention - SQL SERVER 10 41
Can we attach PDF to table 2 46
Powershell error using sql agent job 24 37
Group ordersum by orderdate 3 13
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

732 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