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!
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:\AOSService\webroot\Monitoring
Open a Powershell as Administrator and run the following commands to install the 2 missing event providers:
$resourcefiledir = "C:\AOSService\webroot"
$inputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXExecutionTraces.man"
$outputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXExecutionTraces_copy.man"
$temp = Get-Content $inputmanfile
$temp = $temp -replace "%APPROOT%",$resourcefiledir
$temp | out-file $outputmanfile
wevtutil im $outputmanfile
$inputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXXppExecutionTraces.man"
$outputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXXppExecutionTraces_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!
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:\AOSService\webroot\Monitoring
Open a Powershell as Administrator and run the following commands to install the 2 missing event providers:
$resourcefiledir = "C:\AOSService\webroot"
$inputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXExecutionTraces.man"
$outputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXExecutionTraces_copy.man"
$temp = Get-Content $inputmanfile
$temp = $temp -replace "%APPROOT%",$resourcefiledir
$temp | out-file $outputmanfile
wevtutil im $outputmanfile
$inputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXXppExecutionTraces.man"
$outputmanfile = "C:\AOSService\webroot\Monitoring\DynamicsAXXppExecutionTraces_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!
9 comments:
Very helpful even for newer VM with Dyn AX 365 FO 10.0.x. Thank you for this article.
Thanks for sharing the valuable information.
MS Dynamics Technical Online Training
Informative blog. Thanks for sharing your thoughts and knowledge on this topic.
MS Dynamics Trade and Logistics Online Training
I have managed to solve this issue by capturing the trace from Trace parser with all providers selected. It probably installs the missing providers. Since then capturing the trace from GUI works normally.
"mcafee is an antivirus software providers that secure your computer for virus , worms ,trojens and other mailcious program .it provides full range of
security product like antivirus , firewall etc .you have to do mcafee antivirus download "
"Kaspersky Free is a completely free security solution that does not show any
third-party advertisements. Kaspersky Free also does not collect your personal data.
We value your privacy. Kaspersky Total Security is an overall good internet security suite. to click this link kaspersky antivirus"
Amazon is an American multinational technology company which focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence. It is one of the Big Five companies in the U.S. information technology industry, along with Google, Apple, Microsoft, and Facebook. amazon .com
How Mr Benjamin Lee service grant me a loan!!!
Hello everyone, I'm Lea Paige Matteo from Zurich Switzerland and want to use this medium to express gratitude to Mr Benjamin service for fulfilling his promise by granting me a loan, I was stuck in a financial situation and needed to refinance and pay my bills as well as start up a Business. I tried seeking for loans from various loan firms both private and corporate organisations but never succeeded and most banks declined my credit request. But as God would have it, I was introduced by a friend named Lisa Rice to this funding service and undergone the due process of obtaining a loan from the company, to my greatest surprise within 5 working days just like my friend Lisa, I was also granted a loan of $216,000.00 So my advise to everyone who desires a loan, "if you must contact any firm with reference to securing a loan online with low interest rate of 1.9% rate and better repayment plans/schedule, please contact this funding service. Besides, he doesn't know that am doing this but due to the joy in me, I'm so happy and wish to let people know more about this great company whom truly give out loans, it is my prayer that GOD should bless them more as they put smiles on peoples faces. You can contact them via email on { 247officedept@gmail.com} or Text through Whatsapp +1-989 394 3740.
Useful resolution
Post a Comment