| Previous | Next |
| PLA_E_CREDENTIALS_REQUIRED | PLA_E_CONFLICT_INCL_EXCL_API |
PLA_E_DCS_NOT_RUNNING
Control operations must match the current Data Collector Set status
PLA_E_DCS_NOT_RUNNING means the caller attempted a runtime action against a set that is stopped, completed, or never started. Persisted existence does not imply an active collector process or ETW session.
Query status immediately before the operation and correlate it with duration limits, schedules, StopOnCompletion, and previous start failures. A set can stop automatically between segments or after a collector completes. If the caller races with shutdown, serialize control requests and treat a stopped set as a lifecycle result instead of repeatedly issuing stop or flush commands.
Lifecycle facts to correlate
- Status returned by the current IDataCollectorSet object.
- Most recent Start and Stop call results.
- Configured duration and StopOnCompletion value.
- Scheduler or alert action that may have ended the run.
References
Looking for a different code? Search another status or error code.