Thanks for the "verbose" tip. Here is the expanded error message:
[eight preceding tables returned the following two lines]
Preparing table '[dbo].[ORIENTATION]' for merge replication
*** [Article:'ORIENTATION'] Merge GUID column and triggers generation time:
221 (ms) ***
Preparing table '[dbo].[PULSE_MEASUREMENT_RESULTS]' for merge replication
SourceTypeId = 5
SourceName = ABQ_WSCHMIDT
ErrorCode = 1505
ErrorText = CREATE UNIQUE INDEX terminated because a duplicate key was found
for index ID 55. Most significant primary key is 'type 24, len 16'.
CREATE UNIQUE INDEX terminated because a duplicate key was found for index
ID 55. Most significant primary key is 'type 24, len 16'.
Disconnecting from Publisher 'ABQ_WSCHMIDT'
Microsoft SQL Server Snapshot Agent 8.00.760
Copyright (c) 2000 Microsoft Corporation
Microsoft SQL Server Replication Agent: ABQ_WSCHMIDT-DAPS_DB-DAPS_DB-1
This table uses four columns for its key and has 55 columns altogether (is
this a clue). The last column is a uniqueidentifier (as is common for all
tables in this database). There are currently 624 records in this table.
I am using a stored procedure to start replication on this database. I have
to provide a GUI button to start and stop replication and I'm using stored
procedures to implement these functions. I also have one to check
replication status which is displayed on the GUI.
Thanks for your help,
William
[quoted text, click to view] "Hilary Cotter" <hilaryk@att.net> wrote in message
news:OGYvZMyLEHA.2736@TK2MSFTNGP11.phx.gbl...
> can you do logging to determine exactly which table it is breaking on?
>
>
http://support.microsoft.com/default.aspx?scid=kb;EN-US;312292 >
> By chance did you deploy this publication/subscription from a script?
>
> "Wm" <wschmidt@egginc_SpamBlocker_.com> wrote in message
> news:O52HgyvLEHA.1272@tk2msftngp13.phx.gbl...
> > I have applied SP3 and the MS site says I don't need to apply the "a"
> > version. I understand what the error means but I don't understand why
> this
> > happens from the snapshot agent. All the replicated tables have primary
> > keys (some of them are two-field keys) and guid columns in place. Is
the
> > snapshot agent trying to create its own unique index for some reason?
> >
> > Thanks for your help,
> > William
> >
> >
> > "Paul Ibison" <Paul.Ibison@Pygmalion.Com> wrote in message
> > news:Odx6pQvLEHA.2736@TK2MSFTNGP11.phx.gbl...
> > > William,
> > > This error occurs when you attempt to create a unique index and more
> than
> > > one row contains the duplicate value. SQL Server has detected a
> uniqueness
> > > violation and cancels the CREATE INDEX operation. There have been
> articles
> > > about this sort of thing happening inadvertantly (eg
> > >
http://support.microsoft.com/default.aspx?scid=kb;EN-US;290917). These
> > > issues are meant to have been cleared up in the service packs. Have
you
> > got
> > > sp3(a) installed?
> > > Regards,
> > > Paul Ibison
> > >
> > >
> >
> >
>
>