Groups | Blog | Home
all groups > sql server replication > august 2006 >

sql server replication : snapshot could not be generated because the publisher is inactive


JMorganSmith NO[at]SPAM gmail.com
8/11/2006 2:52:30 PM
Publisher:
SQL Server 2000 (32-bit) SP4 (service using Windows account in Domain1)
Windows 2003 SP1

Distributor:
SQL Server 2005 (64-bit) SP1 (service using Windows account in Domain2)
Windows 2003 SP1

Connectivity fine between boxes/domains

REPL-LogReader job - no errors
REPL-Distribution job - no errors
REPL-Snapshot job - error...
-----------------------------------------------------------------
Message
2006-08-11 21:33:54.30 User-specified agent parameter values:
2006-08-11 21:33:54.30 --------------------------------------
2006-08-11 21:33:54.30 -Publisher *Publisher name here*
2006-08-11 21:33:54.30 -PublisherDB *Publishing DB here*
2006-08-11 21:33:54.30 -Publication *Publication name here*
2006-08-11 21:33:54.30 -Distributor *Distributor name here*
2006-08-11 21:33:54.30 -DistributorSecurityMode 1
2006-08-11 21:33:54.30 -XJOBID 0xE432E1E8A4B37F4F9C9F7718342DB0A3
2006-08-11 21:33:54.30 --------------------------------------
2006-08-11 21:33:54.35 Connecting to Distributor *Distribution name
here*
2006-08-11 21:33:54.55 The replication agent had encountered an
exception.
2006-08-11 21:33:54.55 Source: Replication
2006-08-11 21:33:54.55 Exception Type:
Microsoft.SqlServer.Replication.ReplicationAgentException
2006-08-11 21:33:54.55 Exception Message: The snapshot could not be
generated because the publisher is inactive.
2006-08-11 21:33:54.55 Message Code: 54057
2006-08-11 21:33:54.55
Raymond Mak [MSFT]
8/11/2006 3:26:31 PM
Please run sp_changedistpublisher @publisher = *Your publisher name*,
@property = 'active', @value = 'true' at your distributor, and I will be
interested to know the details of how you set up your distributor\publisher
(2005SSMS or 2000EM, stored procs\script, any errors etc.) .

Thanks.

-Raymond
[quoted text, click to view]

JMorganSmith
8/11/2006 10:25:18 PM
That did it! When the distributor was 32-bit and I setup replication
via the Management Studio, I did not have this problem.

When the distributor was reformatted and had 64-bit OS & SQL installed
and I setup replication via the Management Studio, the problem
occurred. Looks like this option is not turned on even though the
Management Studio shows that the publisher is active in the Distributor
Properties->Publishers page.

FYI,

I set up the distributor via the Management Studio, but have scripts
for the publications.

Thanks again
Morgan


[quoted text, click to view]
AddThis Social Bookmark Button