Server: Microsoft Windows 2012 R2 (w/ SharePoint 2013 on the system).
Getting the this error:
Data Collector Set was not found (0x80300002)
I have a scheduled task that runs automatically on system restart. I am not sure if this is built-in, created by third-party software or created in-house.
Scheduled Task in Task Scheduler
We are getting the below alert on SCOM:
Job/Task StartFabricTraces Failed with exit code -2144337918 (0x80300002). Last run date was 10/19/2018 4:08:41 PM
I have tried to run the process manually but I am getting the data set collector error.
Upon some research I also checked in Computer Management -> Performance -> Data Collector Sets
but could not find any Data Sets with the same name as the event/command.
The sheduled task is called StartFabricTraces
and runs a .cmd called StartTracing.cmd
located in C:\Program Files\Windows Fabric\bin\Fabric\Fabric.Code.1.0
.
The contents are as below:
@echo OFF
call logman start FabricTraces > NUL
call logman start FabricLeaseLayerTraces > NUL
Tried running the code manually into a Command Prompt and I get no output. When I remove the trailing > NUL
I get the Data Collector Set
was not found (0x80300002) error
Any idea how I can run this scheduled task successfully and what it's use is?