I'm trying to set up a snapshot replication. When i run the job creating a snapshot I get an error:
Message
2019-10-30 13:01:59.57 Microsoft (R) SQL Server Snapshot Agent
2019-10-30 13:01:59.57 [Assembly Version = 15.0.0.0, File Version = 15.0.1900.25]
2019-10-30 13:01:59.57 Copyright (c) 2016 Microsoft Corporation.
2019-10-30 13:01:59.57 The timestamps prepended to the output lines are expressed in terms of UTC time.
2019-10-30 13:01:59.57 User-specified agent parameter values:
2019-10-30 13:01:59.57 --------------------------------------
2019-10-30 13:01:59.57 -Publisher DB100
2019-10-30 13:01:59.57 -PublisherDB REF3_DB
2019-10-30 13:01:59.57 -Publication REF3_PDR4
2019-10-30 13:01:59.57 -Distributor DB100
2019-10-30 13:01:59.57 -DistributorSecurityMode 1
2019-10-30 13:01:59.57 -XJOBID 0xA694274CD89FAF418C8B059F22C01B85
2019-10-30 13:01:59.57 --------------------------------------
2019-10-30 13:01:59.57 Connecting to Distributor 'DB100'
2019-10-30 13:01:59.62 Parameter values obtained from agent profile:
2019-10-30 13:01:59.62 ---------------------------------------------
2019-10-30 13:01:59.62 -BcpBatchSize 100000
2019-10-30 13:01:59.62 -HistoryVerboseLevel 2
2019-10-30 13:01:59.62 -LoginTimeout 15
2019-10-30 13:01:59.62 -QueryTimeout 1800
2019-10-30 13:01:59.62 ---------------------------------------------
2019-10-30 13:01:59.62 Validating Publisher
2019-10-30 13:01:59.62 Connecting to Publisher 'DB100'
2019-10-30 13:01:59.64 Publisher database compatibility level is set to 150.
2019-10-30 13:01:59.64 Retrieving publication and article information from the publisher database 'DB100.REF3_DB'
2019-10-30 13:01:59.64 [0%] Locking published tables while generating the snapshot
2019-10-30 13:01:59.65 [0%] The replication agent had encountered an exception.
2019-10-30 13:01:59.65 Source: Replication
2019-10-30 13:01:59.65 Exception Type: Microsoft.SqlServer.Replication.ReplicationAgentException
2019-10-30 13:01:59.65 Exception Message: An unspecified error had occurred in the native SQL Server connection component.
2019-10-30 13:01:59.65 Message Code: 55012
2019-10-30 13:01:59.65
There seems to be no help whith this issue… please can anyone help me.