SQL Server Express LocalDB Reference - Error Messages

Applies to: SQL Server

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

LOCALDB_ERROR_ADMIN_RIGHTS_REQUIRED
Administrator privileges are required in order to execute this operation.

LOCALDB_ERROR_AUTO_INSTANCE_CREATE_FAILED
Cannot create an automatic instance. See the Windows Application event log for error details.

LOCALDB_ERROR_CALLER_IS_NOT_OWNER
API caller is not LocalDB instance owner.

LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_FOLDER
An instance folder cannot be accessed.

LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_REGISTRY
An instance registry cannot be accessed.

LOCALDB_ERROR_CANNOT_CREATE_INSTANCE_FOLDER
A folder cannot be created under %userprofile%.

LOCALDB_ERROR_CANNOT_CREATE_SQL_PROCESS
A process for SQL Server cannot be created.

LOCALDB_ERROR_CANNOT_GET_USER_PROFILE_FOLDER
A user profile folder cannot be retrieved.

LOCALDB_ERROR_CANNOT_MODIFY_INSTANCE_REGISTRY
An instance registry cannot 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.

LOCALDB_ERROR_INSUFFICIENT_BUFFER
The input buffer is too short, and truncation was not requested.

LOCALDB_ERROR_INTERNAL_ERROR
An unexpected error occurred. See the event log for details.

LOCALDB_ERROR_INVALID_INSTANCE_NAME
The specified instance name is invalid.

LOCALDB_ERROR_INVALID_PARAMETER
One or more specified input parameters are invalid.

LOCALDB_ERROR_NOT_INSTALLED
SQL Server Express LocalDB is not installed on the computer.

LOCALDB_ERROR_SHARED_NAME_TAKEN
The specified shared name is already taken.

LOCALDB_ERROR_SQL_SERVER_STARTUP_FAILED
A SQL Server process was started, but SQL Server startup failed.

LOCALDB_ERROR_TOO_MANY_SHARED_INSTANCES
There are too many shared instances.

LOCALDB_ERROR_UNKNOWN_ERROR_CODE
The requested message does not exist.

LOCALDB_ERROR_UNKNOWN_INSTANCE
The instance does not exist.

LOCALDB_ERROR_UNKNOWN_LANGUAGE_ID
The message is not available in the requested language.

LOCALDB_ERROR_UNKNOWN_VERSION
The specified version is not available.

LOCALDB_ERROR_VERSION_REQUESTED_NOT_INSTALLED
The specified patch level is not installed.

LOCALDB_ERROR_WAIT_TIMEOUT
A time-out occurred while trying to acquire the synchronization locks.

LOCALDB_ERROR_XEVENT_FAILED
Failed to start XEvent engine within the LocalDB Instance API.