google / UIforETW

User interface for recording and managing ETW traces
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
Apache License 2.0
1.55k stars 201 forks source link

wpa.exe - FileNotFoundException - Microsoft.Windows.EventTracing.Defender #137

Open medoni opened 4 years ago

medoni commented 4 years ago

Opening any etl file (for example https://github.com/randomascii/blogstuff/blob/master/TaskbarLatency/2019-09-08_22-34-56%20explorer%20jumplist%20delays.etl) wpa.exe closes with a FileNotFoundException.

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.Performance.Shell.dll
Could not load file or assembly 'Microsoft.Windows.EventTracing.Defender, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I'm using Windows 1903. any suggestions?

randomascii commented 4 years ago

It sounds like your WPT install is messed up, possibly due to a WPT installer bug that I found last year which is now fixed. You could either try installing the latest version from the latest Windows 10 SDK, or you could try doing a repair install of your current version.

You could also install on another machine and then compare the installs to see what the difference is.