We have merge replication setup, there is one server that will not finish the initialization. Almost all the tables in the publication are filtered. The Data connection is via native SQL and FTP is used to deliver the snapshot. During initialization the subscribers partition is successfully created, all the schema object and data is moved across the FTP, the database is built and populated, and then just before finalization of the subscription it throws the follow error:
The Merge Agent failed to locate the partitioned snapshot for this subscription in the expected location. If the publication does not support Subscriber-requested snapshot generation, ensure that the partitioned snapshot for this subscription has been generated. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199429)
Get help: http://help/MSSQL_REPL-2147199429
If we try to re-inititalize the subscription it will create the same exact folder repeat the entire process and then fail.
we have turned on verbose logging and all the logs look good:
Examples from the publisher log files:
2014-01-08 20:31:49.98 -DynamicFilterHostName GZQRS0011
2014-01-08 20:31:49.98 -DynamicSnapshotLocation \\SEKUSQL\ReplData\ftp\SEKUSQL_SEKUTNT_805_NSV1_PUB_SEKUTNT_805_NSV1\GZQRS0011_2\
2014-01-08 20:32:15.00 [86%] Bulk copied 100000 rows from [dbo].[CodeHistoryLocation] (1200000 total rows copied)
2014-01-08 20:32:15.08 [86%] Bulk copied snapshot data for article 'CodeHistoryLocation' (1250000 rows).
2014-01-08 20:32:15.88 *************************** Performance Statistics ****************************
2014-01-08 20:32:15.88 Overall snapshot generation time (seconds): 25.83
Then from the subscriber side the log is full of:
2014-01-10 17:40:38.588 Ftp get file from SEKUSQL_SEKUTNT_805_NSV1_PUB_SEKUTNT_805_NSV1\GZQRS0011_2\Sys_AppSettingType_19.sch to C:\Windows\TEMP\f652230cf66e4b7b9b5a518845ef7f3d\Sys_AppSettingType_19.sch.During the initialization it will completely build the database and load all the data then just error out saying failed to locate the partitioned snapshot for this subscription in the expected location.
I am lost and need any ideas of what and where to look.
Thanks