I have a transactional Replication (Non-SQL Server Publishers - Oracle) implemented for one SQL Server Database. Let's say Publishers: A, B Subscriber: C
- I can not modify the Oracle DBs.
- The Publishers have the same DB schema.
- On the subscriber I have the same tables, with one column more "Publisher" to identify where that line comes from.
I used the After-Snapshot Script to create and populate this column for the Initial Load for the Publisher A.
Also, created a (After-Snapshot) script for the publisher B to populate the column.
It works when I do the first snapshot for A, and my bulkload fails for B with the following error:
Replication-Replication Distribution Subsystem: agent AgentName failed. The process could not bulk copy into table '"dbo"."EMployees"
Error Log: Error: 14151, Severity: 18, State: 1.
Replication Monitor Source: MSSQL_REPL, Error number: MSSQL_REPL20037)
Anyone has an idea? Is it due the schema difference between B and C, since when the A does the bulkload there is no table and first I create the table, then do the initial load, the do the alter table to add the column, update values to be ready for the second bulk load?