Hello,
I would like to ask a question about ETW tracing in NAV. I have Microsoft Dynamics NAV as a provider and a C# code where DynamicTraceEventParser catches all events. Almost everything works fine except a field ActivityId which is empty. Can Navision as provider provide this field or not? I would like to pair this trace events (ETW) to extended events caught from SQL session where is a field AttachActivityId filled with Guid. Are these two fields corresponding? Is there any other option to pair ETW events and extended events both caught using Navision?
Thank you for any hints,
Igor
0
Comments
Unfortunately we do not support the activity id on ETW events. Maybe you can get some hints in the external SQL profiler events using the NAV SQL tracing events’ "SQL statement" payload data. Or maybe use SQL profiler with the AL statements. And do an ETW tracing where you enable all AL function calls to be traced. But these are not the same as having an activity id.
Thanks
Kalman Beres
Microsoft Dynamics NAV Server&Tools