all groups > sql server replication > april 2004 >
You're in the

sql server replication

group:

Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!?


Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Paul Kleynhans
4/29/2004 10:28:43 PM
sql server replication:
Hi
I've been running Merge replication successfully now for about 6 months. We
use Pull subscriptions and Dynamic Snapshots with FTP over telephone lines.

Recently, we upgraded our software that runs on the database, resulting in 2
new tables added to the published article list.I added these to the
publication using Enterprise manager and recreated our snapshot.

This resulted in all our subscriptions (100 of them) falling over with the
following error message:
Connecting to ftp site 'SERVER1'
(Source: MARIAAN\CC (Agent); Error number: 20116)
----------------------------------------------------------------------------
-----------------------------------
Table 'C_ClaimStatus' does not exist in the Subscriber database.
(Source: MARIAAN\CC (Data source); Error number: 21078)
----------------------------------------------------------------------------
-----------------------------------
'. Check sysobjects.
(Source: MARIAAN\CC (Data source); Error number: 2501)
----------------------------------------------------------------------------
-----------------------------------
The process could not deliver the snapshot to the Subscriber.
(Source: Merge Replication Provider (Agent); Error number: -2147201001)
----------------------------------------------------------------------------
-----------------------------------

I added a script to be run pre synchronisation that creates the missing
tables (I thought replication should've created them automatically, but what
can you do?)
After this ran, the tables existed at the sites, but the error changed to
the following:
Invalid column name 'rowguidcol'.
(Source: GAELEEN_PC\CC (Data source); Error number: 207)
----------------------------------------------------------------------------
-----------------------------------
The process could not deliver the snapshot to the Subscriber.
(Source: Merge Replication Provider (Agent); Error number: -2147201001)
----------------------------------------------------------------------------
-----------------------------------

This happens immediately after the process "Bulk copied data into table
'sysmergesubsetfilters' (11 rows)"

What is wrong? I've tried the microsoft sites, but came up empty. ANY help
would be appreciated.
We can NOT afford to go to 100 sites to re-install replication AGAIN...

Regards
Paul Kleynhans


Re: Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Michael Hotek
4/29/2004 11:30:35 PM
Is the error message occuring on the newly added tables or on already
existing tables? In the script that you ran to create the new tables, did
you have the rowguid column in the table and were all of the properties set
correctly?

--
Mike
Principal Mentor
Solid Quality Learning
"More than just Training"
SQL Server MVP
http://www.solidqualitylearning.com
http://www.mssqlserver.com

Re: Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Paul Kleynhans
4/30/2004 8:18:13 AM
Yes, all new tables already contain a rowguid field. All settings are
correct.
The error is occurring right after the message stating "bulk copied data
into table sysmergesubsetfilters'
(it isn't even processing the previously existing articles...)

I read somewhere that this error is sometimes caused by different versions
of SQL being used to replicate, but we are using SQL2000 Sp3 and MSDE 2000
sp3 at all sites.

Once again, any assistance will be appreciated.

Regards
Paul Kleynhans


[quoted text, click to view]

Re: Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Hilary Cotter
5/1/2004 8:25:12 AM
replication will add the new articles to a publication. You should not have
to use the precreation script command for this.

Exactly what do you mean by "recreated my snapshot", when you use dynamic
snapshots the "main" snapshot is run and each of the dynamic snapshots are
regenerated and distributed to the subscribers.

It sounds like your subscribers are not aware of the added newly articles.

I have run into problems with dynamic snapshots. My problem was different
from yours, but I basically had to tear everything down and rebuild it. It
did work succesfully after that.

I'd advise you to drop your subscriptions and publication(s) and start again
from a fresh base.


[quoted text, click to view]

Re: Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Hilary Cotter
5/5/2004 6:06:00 AM
it hicupped once one me. After the second "build" it was very solid.

All my other experieinces with it have been solid. When I called PSS on it
(Rand Boyd), he seemed dumbfounded by the problem and was unable to repro
it. He had me send him the database to investigate further but I don't
believe he found anything.

[quoted text, click to view]

Re: Merge Replication: invalid column name 'rowguidcol' on adding new articles?!?!? Paul Kleynhans
5/5/2004 9:08:53 AM
I've finally solved my problem.
I had to build a "remote scripting" tool into my software.
This allowed me to manually recreate the new tables at the subscribers. Once
I did this, the problem was solved.

This does mean, however, that Dynamic snapshot is not reliable when it comes
to table changes or additions...

I would redo the entire structure, but I've done that twice already, and
with 100 sites, it just isn't feasable anymore.

AddThis Social Bookmark Button