Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Post Snapshot Script fails

$
0
0

I have configured a merge replication on a SQL Server 2012 (Standard Edition).

The snapshot files are located on a shared folder. The client can access this folder via an UNC path.

The permissions are correct, because the initial synchronization is working - all database objects have been put into subscriber database.

Now I need to run a post snapshot script to create a full text index on an indexed view (because SQL server replication is not able to do this for me).

I configured the publication with a post snapshot script to the same network share:
\\mysqlserver\mytool$\Scripts\PostSnapshotScripts\MyScript.sql

When I now try to make an initial synchronization the client gets the error:
"The MyScript_c20d3a1b_1.sql-schema script could not be propagated to the subscriber."

The replication monitor shows the same message with the addition
"(Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)".

I thought, that there is an error in my script. So I tried a simple select statement or an empty .sql-file. But I always get the same error.



Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>