Trace Parser doesn’t work – Dynamics 365 for Finance & Operations

Hi All and Happy Christmas!!

Below, I’ll share an issue that wasted my time during an Performance investigation.
I have to say also thanks to Microsoft Technical support for helping me.

Some ETL files opened with Trace Parser on a onebox VM, didn’t show up any methods and any queries. Something like that:













Cause: The ETW Providers  “Microsoft-AX-XPPExecutionTraces” and “Microsoft-Dynamics-AX-ExecutionTraces” aren’t installed in the VM!

Microsoft-Dynamics-AX-XppExecutionTraces : Used to capture X++ methods events.
Microsoft-Dynamics-AX-ExecutionTraces : Used to capture SQL events.

































Resolution : In that case you can install the missing providers with the following steps:

Find the location of the manifest files. If you are using a onebox VM they are in C:AOSServicewebrootMonitoring


Open a Powershell as Administrator and run the following commands to install the 2 missing event providers:

$resourcefiledir = “C:AOSServicewebroot”
$inputmanfile = “C:AOSServicewebrootMonitoringDynamicsAXExecutionTraces.man”
$outputmanfile = “C:AOSServicewebrootMonitoringDynamicsAXExecutionTraces_copy.man”
$temp = Get-Content $inputmanfile
$temp = $temp -replace “%APPROOT%”,$resourcefiledir
$temp | out-file $outputmanfile
wevtutil im $outputmanfile
$inputmanfile = “C:AOSServicewebrootMonitoringDynamicsAXXppExecutionTraces.man”
$outputmanfile = “C:AOSServicewebrootMonitoringDynamicsAXXppExecutionTraces_copy.man”
$temp = Get-Content $inputmanfile
$temp = $temp -replace “%APPROOT%”,$resourcefiledir
$temp | out-file $outputmanfile
wevtutil im $outputmanfile


Close and open Trace Parser again and verify the providers are visible in the list.


Another way is to:


Copy c:Monitoring folder from a 7.2 working VM

Run MonitoringInstall.cmd from Command Prompt running as Administrator in this folder


I guess with the new VM version this issue is gone!


Enjoy!

Original Post https://sinedax.blogspot.com/2018/12/trace-parser-doesnt-work-dynamics-365.html

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...