Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

*.sch files in snapshot folder

 
   Database Help (Home) -> Replication RSS
Next:  Help Urgently needed, greatly appreciated! (about..  
Author Message
Tom

External


Since: Feb 02, 2009
Posts: 1



(Msg. 1) Posted: Mon Feb 02, 2009 4:25 pm
Post subject: *.sch files in snapshot folder
Archived from groups: microsoft>public>sqlserver>replication (more info?)

Hello,

I'm encountering the following problem when applying the snapshot in the
merge replication (SQL Server 2005 STD - publisher and SQL Express -
subscriber):
- the *.sch files contain always CREATE TABLE statements with additional
rowguid column, but in the subscriber's DB the table already exists. In
result I get the error message 'syntax error near 'idart'', where 'idart' is
a PK of a table

I've modified then *.sch files and replaced CREATE with ALTER - only to add
the new column - and everything works fine. Anyway, when changing the DB
structure the sch files are numerated in other order, so every time I have
to re-numerate my, changed files.

Shouldn't the replicated tables be present in the subscriber's DB before
running the snapshot. What should I do to have this working without my
changes?

Thanks in advance.
Tom

 >> Stay informed about: *.sch files in snapshot folder 
Back to top
Login to vote
Hilary Cotter3

External


Since: Aug 28, 2004
Posts: 458



(Msg. 2) Posted: Mon Feb 02, 2009 10:07 pm
Post subject: Re: *.sch files in snapshot folder [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

can you post the schema of a problem table.
"Tom" wrote in message

> Hello,
>
> I'm encountering the following problem when applying the snapshot in the
> merge replication (SQL Server 2005 STD - publisher and SQL Express -
> subscriber):
> - the *.sch files contain always CREATE TABLE statements with additional
> rowguid column, but in the subscriber's DB the table already exists. In
> result I get the error message 'syntax error near 'idart'', where 'idart'
> is a PK of a table
>
> I've modified then *.sch files and replaced CREATE with ALTER - only to
> add the new column - and everything works fine. Anyway, when changing the
> DB structure the sch files are numerated in other order, so every time I
> have to re-numerate my, changed files.
>
> Shouldn't the replicated tables be present in the subscriber's DB before
> running the snapshot. What should I do to have this working without my
> changes?
>
> Thanks in advance.
> Tom
>

 >> Stay informed about: *.sch files in snapshot folder 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Snapshot replication - I really need some help with replication. I have over 150 remote sites with MSDE db's that I want to replicate back to our headquarters. I want to keep each db separate but have them on one SQL 2005 server. I don't want to get into details as to why..

Snapshot Replication - we are trying to replicate data from SQL Server 2000 (Distributor/Publisher) to SQL Server 2008 (Subscriber) both on Windows 2003 SP2. The Snapshot publication Agent was run and the Snapshot ran successfully. Next, the process 'Run Agent at Subscriber'...

Replication Snapshot using all the memory. - Hi I am having database size =300 GB and Ram size 32 GB during snapshot in replication it is using all my memory basically it is showing 5 MB during that time my system stop respond for the other instances.I cant allocate fixed memory to each instance...

The initial snapshot for publication '' is not yet available - SQL 2005 - SP1 We had a server reboot last night and now my replication-monitor with message 'The initial snapshot for publication '' is not yet available on Distributor-Subscriber tab and is NOT replicating to subscriber. Upon debugging I found, my..

Replication error in Snapshot publication - Hi, I built a database replication between 2 SQL 2000 servers in our domain (both with SP3). I used snapshot publication and it worked for a few days. But one day the Distribution Agent task failed with the following, Error message: Line 95:..
   Database Help (Home) -> Replication All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]