Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.84 KB

File metadata and controls

40 lines (34 loc) · 1.84 KB
title MSSQL_ENG021330
description MSSQL_ENG021330
author MashaMSFT
ms.author mathoma
ms.date 09/25/2024
ms.service sql
ms.subservice replication
ms.topic reference
ms.custom
updatefrequency5
helpviewer_keywords
MSSQL_ENG021330 error
monikerRange =azuresqldb-mi-current||>=sql-server-2016

MSSQL_ENG021330

[!INCLUDE SQL Server SQL MI]

Message Details

Attribute Value
Product Name SQL Server
Event ID 21330
Event Source MSSQLSERVER
Component [!INCLUDEssDEnoversion]
Symbolic Name
Message Text Failed to create a sub-directory under the replication working directory.(%ls)

Explanation

This error can occur when a subscription is initialized manually, and there is a problem creating the directory in which replication scripts are stored. The error can be caused by a permissions issue: when a subscription is initialized without using a snapshot, the account under which the [!INCLUDEssNoVersion] service runs at the Publisher must have write permissions on the snapshot folder at the Distributor.

User Action

Ensure that the correct path has been specified for the snapshot folder and that the account under which the [!INCLUDEssNoVersion] service runs at the Publisher has sufficient permissions.

Related content