Merging of ETL files has failed (0x80071069) (Flags: 0x0000001f)

6

I am trying to profile my application using the built-in profiler in Visual Studio 2017:

enter image description here

However when I close the application, this is what appears: Microsoft Visual Studio was unable to create a diagnostics report. Check Output window for errors.

This is what I see in output window:

Profiling of 'MyProjectName' started.
MyProjectName has exited.
Profiling of 'MyProjectName' stopped.
Diagnostics session stopped with errors.

Merging of ETL files has failed (0x80071069) (Flags: 0x0000001f).

What's wrong? I am running MS Visual Studio Community 2017 on Windows 7 x64. I am profiling C++ Qt application.

c++
visual-studio
visual-studio-2017

1 Answer

3

I had this issue with that exact same error code 0x80071069. I noticed my WMI Performance Adapter Service (wmiApSrv) was stopped. Starting it back up resolved my issue and I was able to successfully profile my application.

In the past I had seen a similar error caused by my C: drive running low on space due to the size of the temp trace files. Make sure you have plenty of free space in your C drive as well.

answered on Stack Overflow Nov 8, 2019 by Nathan Daniels

User contributions licensed under CC BY-SA 3.0