Edit

Share via


SQL Server Express LocalDB error messages

Applies to: SQL Server

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

Error message 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.
LOCALDB_ERROR_INSUFFICIENT_BUFFER The input buffer is too short, and truncation wasn't 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 isn't 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 doesn't exist.
LOCALDB_ERROR_UNKNOWN_INSTANCE The instance doesn't exist.
LOCALDB_ERROR_UNKNOWN_LANGUAGE_ID The message isn't available in the requested language.
LOCALDB_ERROR_UNKNOWN_VERSION The specified version isn't available.
LOCALDB_ERROR_VERSION_REQUESTED_NOT_INSTALLED The specified patch level isn't installed.
LOCALDB_ERROR_WAIT_TIMEOUT A timeout occurred while trying to acquire the synchronization locks.
LOCALDB_ERROR_XEVENT_FAILED Failed to start XEvent engine within the LocalDB Instance API.