Error messages

Express LocalDB error messages 07/14/2025 This section provides reference information about the following SQL Server Express LocalDB error messages: Description

Express LocalDB error messages

This section provides reference information about the following SQL Server Express LocalDB

error messages:

Description

LOCALDB_ERROR_ADMIN_RIGHTS_REQUIRED

Administrator privileges are required in

order to execute this operation.

LOCALDB_ERROR_AUTO_INSTANCE_CREATE_FAILED

Can’t create an automatic instance. See

the Windows Application event log for

error details.

LOCALDB_ERROR_CALLER_IS_NOT_OWNER

API caller isn’t LocalDB instance owner.

LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_FOLDER

An instance folder can’t be accessed.

LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_REGISTRY

An instance registry can’t be accessed.

LOCALDB_ERROR_CANNOT_CREATE_INSTANCE_FOLDER

A folder can’t be created under

%userprofile%.

LOCALDB_ERROR_CANNOT_CREATE_SQL_PROCESS

A process for SQL Server can’t be created.

LOCALDB_ERROR_CANNOT_GET_USER_PROFILE_FOLDER

A user profile folder can’t be retrieved.

LOCALDB_ERROR_CANNOT_MODIFY_INSTANCE_REGISTRY

An instance registry can’t be modified.

LOCALDB_ERROR_INSTANCE_ALREADY_SHARED

The specified instance is already shared.

LOCALDB_ERROR_INSTANCE_BUSY

The specified instance is running.

LOCALDB_ERROR_INSTANCE_CONFIGURATION_CORRUPT

An instance configuration is corrupted.

LOCALDB_ERROR_INSTANCE_EXISTS_WITH_LOWER_VERSION

The specified instance already exists but

its version is lower than requested.

LOCALDB_ERROR_INSTANCE_FOLDER_PATH_TOO_LONG

The path where the instance should be

stored is longer than MAX_PATH.

LOCALDB_ERROR_INSTANCE_STOP_FAILED

The stop operation failed to complete

within the given time.

Expand table