The data collector object model is a managed API that provides a programmatic way to manage data collector properties and data collection sets. The object model is a thin wrapper around a set of stored procedures and views that provide a configuration mechanism for the data collector. For more information, see Data Collector Programming.
Object model errors can come from one of the following components of the object model:
The following table describes the errors that can be raised from the object model.
|
Error message
|
Error number
|
Description
|
|---|
|
Cannot update the name, target, proxy_id, or collection_mode of the active collection set '%s'. Stop the collection set and then try to update again.
|
14669
|
An attempt was made to update an active collection set. A collection set must be stopped before any update of that type can be done. Only the upload schedule can be changed while the collection set is active.
|
|
Cannot delete the active collection set '%s'. Stop the collection set and then try to delete it again.
|
14670
|
An attempt to delete a collection set that is running.
|
|
Cannot update the name or the parameters of the collection item '%s' in the active collection set '%s'. Stop the collection set and then try to update the collection item again.
|
14671
|
An attempt to update a collection item in a collection set that is running.
|
|
Cannot delete the collection item '%s' in the active collection set '%s'. Stop the collection set and then try to delete the collection item again.
|
14672
|
An attempt to delete a collection item in a collection set that is running.
|
|
Cannot delete the collector type '%s'. Delete all collection items associated with this collector type and then try to delete it again.
|
14673
|
An attempt to delete a collector type that has collection items associated with it.
|
|
Cannot upload data for the inactive collection set '%s'. Start the collection set and then try to upload the data again.
|
14674
|
An attempt to upload data collected by a collection set that is not running.
|
|
Cannot update the name, target, proxy_id, logging_level, or collection_mode, or add collection item to the active collection set '%s'. Stop the collection set and then try to update again.
|
14675
|
An attempt to update a collection set that is running.
|
|
The user does not have permission to change '%s'. The user should be member of data collector role '%s'.
|
14676
|
User attempted to update a property that can be changed only by a specific data collector role.
|
|
The user does not have permission to perform this operation. The user must be a member of data collector role '%s'.
|
14677
|
User attempted to perform an operation without being part of the required data collector role.
|
|
SQL Server trace with id %d has been stopped and closed by external user. SQL Server Trace collector will attempt to re-create the trace.
|
14678
|
A trace that was created and used by the data collector has been stopped and closed outside of the collector runtime.
|
|
The specified %s (%s) is not valid in this data warehouse.
|
14679
|
A parameter passed in to one of the stored procedures in the management data warehouse has a value that does not match other entries in the warehouse.
|
|
This version of instmdw.sql should only be executed against server running SQL Server 2005 or later.
|
14680
|
An attempt to install a management data warehouse on a server running SQL Server 2000 or earlier.
|
|
Cannot perform this procedure when the collector is disabled. Enable the collector and then try again.
|
14681
|
An attempt to perform an operation that conflicts with the state of the collector.
|
|
The state of the collection set has changed, but it will not start or stop until the collector is enabled.
|
14682
|
An attempt to start or stop the collection set when the collector is not enabled.
|
|
A collection set in snapshot or continuous mode requires a schedule.
|
14683
|
Create or update a collection set in snapshot or continuous mode without providing a schedule.
|
|
Caught error#: %d, Level: %d, State: %d, in Procedure: %s, Line: %d, with Message: %s
|
14684
|
A generic error occurred in the data collector component; the error was caught in a catch block and rethrown.
|
|
Invalid operation. The status of collection set with id = %d is currently "not running".
|
14685
|
A call to sp_syscollector_create_set_queue_and_service for a set with an is_running status of 0.
|
|
The MDWInstance and MDWDatabase parameters of the configuration store cannot be null.
|
14686
|
A connection string to the management data warehouse is null for either the MDWInstance or the MDWDatabase parameters.
|
|
Invalid value (%d) of the @cache_window parameter. Allowable values are: -1 (cache all upload data from previous upload failures), 0 (cache no upload data), N (cache data from N previous upload failures, where N >= 1)
|
14687
|
An attempt was made to set the value of the CacheWindow parameter of the collector configuration store to a value less than -1.
|
|
A collection set cannot start when SQL Server Agent is stopped. Start SQL Server Agent.
|
14688
|
An attempt was made to start a collection set when SQL Server Agent is not enabled.
|
|
A collection set cannot start if the management data warehouse is not configured. Run the instmdw.sql script to create and configure the management data warehouse.
|
14689
|
An attempt was made to start a collection set when management data warehouse is not set up.
|
|
Cannot perform this procedure when the collector is enabled. Disable the collector and then try again.
|
14690
|
An attempt to perform an operation that conflicts with the state of the collector.
|
|
The status of the collector cannot be null. This may indicate an internal corruption in the collector configuration data.
|
14691
|
A call to sp_syscollector_verify_collector_state found the CollectorEnabled parameter with a null value. This may indicate an internal corruption of the configuration data of the collector.
|