SQL Server System Errors: 25000 - 25999

List of error messages between 25000 and 25999 in SQL Server 2017.

These error messages are all available by querying the sys.messages catalog view on the master database.

message_id severity is_event_logged text
25002160The specified Publisher is not enabled as a remote Publisher at this Distributor. Ensure the value specified for the parameter @publisher is correct, and that the Publisher is enabled as a remote Publisher at the Distributor.
25003160Upgrade of the distribution database MSmerge_subscriptions table failed. Rerun the upgrade procedure in order to upgrade the distribution database.
25005160It is invalid to drop the default constraint on the rowguid column that is used by merge replication.
25006160The new column cannot be added to article '%s' because it has more than %d replicated columns.
25007160Cannot synchronize the subscription because the schemas of the article at the Publisher and the Subscriber do not match. It is likely that pending schema changes have not yet been propagated to the Subscriber. Run the Merge Agent again to propagate the changes and synchronize the data.
25008160The merge replication views could not be regenerated after performing the data definition language (DDL) operation.
25009160Invalid value '%s' specified while executing sp_changemergearticle on article '%s' for the 'identityrangemanagementoption' property.
25010160The constraint is used by merge replication for identity management and cannot be dropped directly. Execute sp_changemergearticle @publication, @article, "identityrangemanagementoption", "none" to disable merge identity management, which will also drop the constraint.
25012160Cannot add an identity column since the table is published for merge replication.
25013160Cannot perform alter table because the table is published in one or more publications with a publication_compatibility_level of lower than '90RTM'. Use sp_repladdcolumn or sp_repldropcolumn.
25014160sp_repladdcolumn does not allow adding columns of datatypes that are new to this release.
25015100Schema Changes and Bulk Inserts
25016100Prepare Dynamic Snapshot
25017160Failed to execute the command "%s" through xp_cmdshell. Detailed error information is returned in a result set.
25018160Precomputed partitions cannot be used because articles "%s" and "%s" are part of a join filter and at least one of them has a constraint with a CASCADE action defined.
25019160The logical record relationship between articles "%s" and "%s" cannot be added because at least one of the articles has a constraint with a CASCADE action defined.
25020160The article cannot be created on table '%s' because it has more than %d columns and column-level tracking is being used. Either reduce the number of columns in the table or change to row-level tracking.
25021160Replication stored procedure sp_MSupdategenhistory failed to update the generation '%s'. This generation will be retried in the next merge.
25022160The snapshot storage option (@snapshot_storage_option) must be 'file system', or 'database'.
25023160Stored procedures containing table-value parameters cannot be published as '[serializable] proc exec' articles.
25024160A snapshot storage option of 'database' is incompatible with the use of character mode bcp for snapshot generation.
25025160Cannot add a sparse column or a sparse column set because the table is published for merge replication. Merge replication does not support sparse columns.
25026160The proc sp_registercustomresolver cannot proceed because it is not run in the context of the distribution database, or the distribution database is not properly upgraded.
25027160Cannot find a credential for Windows login '%s'. Replication agent job sync needs a credential to be pre-created in all availability group replicas for each required Windows logins.
25028160Cannot specify 'database_name' when 'all' is set to 1.
25029160Replication distribution database '%s' is not in the primary replica of its availability group.
25030160Replication distribution database '%s' is not in an availability group.
25031100Monitor and sync replication agent jobs
25032100Sync replication agent jobs and their enabled states.
25033160The distribution database is part of an availability group without a listener. Add a listener to the availability group before adding publication, subscription or distribution.
25034160Distribution database in availability group is only supported for publisher_type as MSSQLSERVER.
25035160When distribution database is part of availability group, then distributor and publisher server cannot be same.
25036160Distribution database needs to be in readable state on secondary replica, when distribution database is part of availability group.
25601170The Extended Event engine is out of memory.
25602170The %S_MSG, "%.*ls", encountered a configuration error during initialization. Object cannot be added to the event session. %ls
25603170The %S_MSG, "%.*ls", could not be added. The maximum number of singleton targets has been reached.
25604170The Extended Event engine is disabled.
25605170The %S_MSG, "%.*ls", could not be added. The maximum number of packages has been reached.
25606170The Extended Event engine could not be initialized. Check the SQL Server error log and the operating system error log for information about possible related problems.
25607170The Extended Event engine has been disabled by startup options. Features that depend on Extended Events may fail to start.
25608170The Extended Event engine could not allocate record for local thread/fiber.
25623160The %S_MSG name, "%.*ls", is invalid, or the object could not be found
25624160The constraints of %S_MSG name, "%.*ls", have been violated. The object does not support binding to actions or predicates. Event not added to event session.
25625160The %S_MSG, "%.*ls", already exists in the event session. Object cannot be added to the event session.
25626160The %S_MSG, "%.*ls", was specified multiple times.
25629160For %S_MSG, "%.*ls", the customizable attribute, "%ls", does not exist.
25630160The predicate expression bound to %S_MSG ,"%.*ls", has mismatching types.
25631160The %S_MSG, "%.*ls", already exists. Choose a unique name for the event session.
25632160The specified buffer size is less than the minimum size. The minimum allowed size is %d bytes.
25633160The buffer size specified exceeds the maximum size.
25634160The dispatch latency specified is below the minimum size.
25635160An attempt was made to add an asynchronous target to a session with a maximum memory of 0. For asynchronous targets to be added to a session, the session must have a maximum memory greater than 0.
25636160Source and comparator types of the predicate do not match.
25639160The %S_MSG, "%.*ls", exceeds the number of allowable bound actions.
25640160Maximum event size is smaller than configured event session memory. Specify a larger value for maximum event size, or specify 0.
25641160For %S_MSG, "%.*ls", the parameter "%ls" passed is invalid. %ls
25642160Mandatory customizable attributes are missing for %S_MSG, "%.*ls".
25643160The %S_MSG, "%.*ls", can not be added to an event session that specifies no event loss.
25644160The %S_MSG, "%.*ls", cannot be bound to the event session.
25646160The %S_MSG name, "%.*ls", is invalid.
25647160The %S_MSG, "%.*ls", could not be found. Ensure that the object exists and the name is spelled correctly.
25648160The %S_MSG, "%.*ls", could not be found. Ensure that the package exists and the name is spelled correctly.
25649160Two of the actions/predicates for %S_MSG, "%.*ls", can not coexist. Please remove one.
25650160For %S_MSG, "%.*ls" the customizable attribute, "%ls", was specified multiple times.
25651160For %S_MSG, "%.*ls", the value specified for customizable attribute, "%ls", did not match the expected type, "%ls".
25653160The %S_MSG, "%.*ls", does not exist in the event session. Object cannot be dropped from the event session.
25654160Insuficient buffer space to copy error message.
25655160Internal Extended Event error: invalid message code.
25656160Error validating action. %ls
25657160Error validating predicate. %ls
25658160The %S_MSG name "%.*ls" is not unique.
25659170The %S_MSG, "%.*ls", encountered a configuration error during initialization. The customizable attribute %ls is used internally only.
25664160Internal Extended Event error: invalid package ID.
25699170The Extended Event engine failed unexpectedly while performing an operation.
25701150Invalid event session name "%.*ls". Temporary event sessions are not allowed.
25702160The event session option, "%.*ls", is set more than once. Remove the duplicate session option and re-issue the statement.
25703160The event session option, "%.*ls", has an invalid value. Correct the value and re-issue the statement.
25704160The event session has already been stopped.
25705160The event session has already been started.
25706160The %S_MSG, "%.*ls", could not be found.
25707160Event session option "%.*ls" cannot be changed while the session is running. Stop the event session before changing this session option.
25708160The "%.*ls" specified exceeds the maximum allowed value. Specify a smaller configuration value.
25709160One or more event sessions failed to start. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
25710161Event session "%.*ls" failed to start. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
25711160Failed to parse an event predicate.
25712160An invalid comparison operator was specified for an event predicate.
25713160The value specified for %S_MSG, "%.*ls", %S_MSG, "%.*ls", is invalid.
25715160The predicate on event "%ls" is invalid. Operator '%ls' is not defined for type "%ls", %S_MSG: "%.*ls".
25716160The predicate on event, "%.*ls", exceeds the maximum length of %d characters.
25717160The operating system returned error %ls while reading from the file '%s'.
25718160The log file name "%s" is invalid. Verify that the file exists and that the SQL Server service account has access to it.
25719160Initial file name and initial offset must be specified as a pair. Please correct the parameters and retry your query.
25720100'sys.fn_xe_file_target_read_file' is skipping records from "%.*ls" at offset %I64d.
25721160The metadata file name "%s" is invalid. Verify that the file exists and that the SQL Server service account has access to it.
25722160The offset %I64d is invalid for log file "%s". Specify an offset that exists in the log file and retry your query.
25723160An error occurred while obtaining metadata information from the file "%s". The file may be damaged.
25724160Predicate too large for display.
25725160An error occurred while trying to flush all running Extended Event sessions. Some events may be lost.
25726170The event data stream was disconnected because there were too many outstanding events. To avoid this error either remove events or actions from your session or add a more restrictive predicate filter to your session.
25727160The Extended Events session named "%.*ls" has either been stopped or dropped and can no longer be accessed.
25728160The Extended Events session named "%.*ls" could not be found. Make sure the session exists and is started.
25729170The event data stream was disconnected due to an internal error.
25730100The Extended Events session named "%.*ls" was modified during the upgrade and one of the bucketizer targets was excluded from the Extended Events session. Only one bucketizer target is supported for each Extended Events session.
25731160Execution of event session state change request failed on remote brick. Event session name: "%.*ls". Refer to previous errors to identify the cause, and correct any associated problems.
25732160One or more event sessions failed to reconcile their runtime states. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
25733160Event session "%.*ls" failed to reconcile its runtime state. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
25734160The file pattern "%s" represents a full path. Use only relative paths with no drive letters.
25735160The source option %d is invalid.
25736160A damaged buffer was found in file "%s" at offset %I64d, no further events will be read from the file.
25737160Database scoped extended event sessions are not available in server scope or system databases in Azure DB.
25738160Event session '%.*ls' could not be started because system is currently busy. Please try again later.
25739160Failed to start event session '%.*ls' because required credential for writing session output to Azure blob is missing.
25740160Unable to start event session '%.*ls' because system is busy. Please try again later.
25741160The URL specified for %S_MSG "%.*ls", %S_MSG "%.*ls" is invalid. URL must begin with 'https://' .
25742160Target '%.*ls' is not available for Azure SQL Database.
25743160The event '%.*ls' is not available for Azure SQL Database.
25744160The action '%.*ls' is not available for Azure SQL Database.
25745160Unable to retrieve Azure SQL Database telemetry data.
25746160Operation failed. Operation will cause database %S_MSG memory to exceed allowed limit. Event session memory may be released by stopping active sessions or altering session memory options. Check sys.dm_xe_database_sessions for active sessions that can be stopped or altered.
25747160Operation failed. Operation will cause database %S_MSG memory to exceed allowed limit. Event session memory may be released by stopping active sessions or altering session memory options. Check sys.dm_xe_database_sessions for active sessions that can be stopped or altered. If no sessions are active on this database, please check sessions running on other databases under the same logical server.
25748160The file "%s" contains audit logs. Audit logs can only be accessed by using the fn_get_audit_file function.