Re: Applying snapshot fails

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ron Lounsbury (rlounsbury_at_bogusAddress.com)
Date: 02/13/04


Date: Fri, 13 Feb 2004 09:52:51 -0500

We found a web site that gave us the response. If you do a SELECT
@@ServerName, the servername came up NULL. To resolve this we had to run
the following:
    sp_dropserver 'servername'
    sp_addserver 'servername', 'local'

    delete SQL registrations in Enterprise Manager
    recreate the SQL registrations in EM
    restart the SQL server.

Ron Lounsbury

"Ron Lounsbury" <rlounsbury@bogusAddress.com> wrote in message
news:OPjrT%23Z8DHA.2676@TK2MSFTNGP10.phx.gbl...
> We have a development system that we are using to test our replication
setup
> for a SQL 2000 back-end application. A couple of weeks ago we had
> replication working with a publisher/distributer and a subscriber. We
have
> been testing seperating our publisher and our distributer servers into
> seperate boxes, and today tried to go back to having the
> publisher/distributer on the same box. We setup replication using the
same
> scripts as a week ago, manually start the snapshot, and manually start the
> replication job. Now, however, the replication job always fails with the
> error message:
> "The process could not make a generation at the 'Subscriber'. The
step
> failed."
>
> To try to debug the process we turned on verbose logging, and the
following
> is the last @30 lines of that file:
>
> Percent Complete: 97
> The merge process is cleaning up meta data in database 'NITSS2kDev'.
> Percent Complete: 97
> The merge process cleaned up 0 row(s) in MSmerge_genhistory, 0 row(s) in
> MSmerge_contents, and 0 row(s) in MSmerge_tombstone.
> Percent Complete: 97
> The merge process is cleaning up meta data in database 'NITSS2kDev'.
> Percent Complete: 97
> The merge process cleaned up 0 row(s) in MSmerge_genhistory, 0 row(s) in
> MSmerge_contents, and 0 row(s) in MSmerge_tombstone.
> Percent Complete: 97
> Uploading data changes to the Publisher
> The process could not make a generation at the 'Subscriber'.
> Percent Complete: 0
> The process could not make a generation at the 'Subscriber'.
> Percent Complete: 0
> Category:NULL
> Source: Merge Replication Provider
> Number: -2147200994
> Message: The process could not make a generation at the 'Subscriber'.
> Percent Complete: 0
> Category:SQLSERVER
> Source: PSC0444
> Number: 515
> Message: Cannot insert the value NULL into column 'nicknames', table
> 'NITSS2kDev.dbo.MSmerge_genhistory'; column does not allow nulls. INSERT
> fails.
> Disconnecting from Subscriber 'PSC0444'
> Disconnecting from Subscriber 'PSC0444'
> Disconnecting from Publisher 'DEV2K'
> Disconnecting from Publisher 'DEV2K'
> Disconnecting from Distributor 'DEV2K'
>
> Can anyone tell me what is happening here and how to fix it. Our topology
> is:
> Publisher/Distributer: SQL2k SP3a
> Subscriber: SQL2k SP3a
>
> TIA
> Ron Lounsbury
>
>



Relevant Pages

  • Re: Applying snapshot fails
    ... on both the publisher and Subscriber and check the status and SRV_ID. ... sp_dropserver 'severname' and then sp_addserver 'servername' with the local ... ||> replication working with a publisher/distributer and a subscriber. ...
    (microsoft.public.sqlserver.replication)
  • Re: Transactional Replication 2005
    ... replication from production database as the publisher and subscribe it to ... Create the distributor on the publisher server ... I then create the subscriber, ... the identity NFR property setting has to match between publisher ...
    (microsoft.public.sqlserver.replication)
  • Re: Sp_adjustpublisheridentityrange and resetting identity range
    ... > identity ranges you have set on your publisher. ... > ranges which will work for the lifetime of their replication solution. ... > should apply this value on the subscriber. ... >> restored the published database from a backup. ...
    (microsoft.public.sqlserver.replication)
  • Re: Merge Repl Failure - Rollback or not
    ... Looking for a SQL Server replication book? ... > Publisher box now shipped to new location. ... > Generate a single insert at subscriber and replicate. ... > Disconnecting from Subscriber 'GENDEV003' ...
    (microsoft.public.sqlserver.replication)
  • Re: Bi-directional Transaction Replication or Immediate Updates
    ... is there a SQL 2005 Replication book ... occurs on the subscriber, this can be in excess of 100 ms, so its not really ... So in general if you have a small number of subscribers, a link or publisher ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.replication)