Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MSSQL_ENG021331

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Product Name

SQL Server

Event ID

21331

Event Source

MSSQLSERVER

Component

SQL Server Database Engine

Symbolic Name

Message Text

Failed to copy user script file to the Distributor.(%ls)

This error can occur when a subscription is initialized manually, and the scripts generated by replication, or specified in a replication command, cannot be saved to the specified directory. The error can be caused by a permissions issue: when a subscription is initialized without using a snapshot, the account under which the SQL Server service runs at the Publisher must have write permissions on the snapshot folder at the Distributor.

Ensure that the correct path has been specified for the snapshot folder and that the account under which the SQL Server service runs at the Publisher has sufficient permissions.

Community Additions

ADD
Show:
© 2015 Microsoft