web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2009 AOS Trace --> AX2012 Trace Parser wont show SQL tab?

(0) ShareShare
ReportReport
Posted on by 100

When taking AX2009 AOS traces and importing those to AX2012 Trace Parser, it  wont show any SQL-commands from any sessions? AOS account belong to Performance Log Users and all rest stuff (X++ call tree) is working okay in Trace. Tried to enable all check boxes on AOS-configuration and verify that those exist on registry also. Restarted AOS-server. Still no luck. Any ideas how to get it working?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    Have you switched the display to a server session (ax32Serv.exe)?

  • Manu Laakkonen Profile Picture
    100 on at

    Cannot see any server sessions... For some reason, trace files are only 3072 KB, even taking long time trace.

  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    If you don't have any trace from AOS, you won't see any SQL tab.

    It seems to be a problem with the trace file, not with Trace Parser. You said it's a trace from AOS, but are you sure? If so, review your trace configuration on AOS.

  • Manu Laakkonen Profile Picture
    100 on at

    Yeah, everything seems to be okay. Trace just does not contain any DB-call information from any sessions. I never faced problem like this before. Maybe I'll need to contact MS support.

  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    No. you said that it doesn't contain server sessions at all, not just SQL queries. Or do you want to update what you said before?

  • Manu Laakkonen Profile Picture
    100 on at

    To clarify, I can see user sessions from trace, but no SQL-call information from any sessions. I can see X++ code tree, but no SQL-sended from AOS to SQL-server.

  • Manu Laakkonen Profile Picture
    100 on at

    And here is trace settings..

  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    SQL tab is shown for server sessions (ax32Serv.exe) only. If you don't have server sessions in your trace file, you won't ever see any SQL. If it's the case, stop bothering about SQL and start solving the real problem - why you haven't collected any server traces. It's a very different problem than if you had server sessions without SQL (which can happen as well, but it's not your case if you say that you "cannot see any server sessions").

    Ensure yourself that you've loaded both the client and the server trace. Also check this article for a setup checklist and troubleshooting advice.

  • Manu Laakkonen Profile Picture
    100 on at

    AX2009 trace looks a bit different than trace taken from AX2012. There is no ax32serv.exe process sessions or ax32.exe sessions directly seen like AX2012 trace file has.

    For this issue it looks like now I'am getting a trace with SQL. Problem seems related to registry values of current active server configuration and (default) configuration. Just saving AOS trace depended registry entries with same settings as those are already set by AOS Server config Tool I can get Trace with SQL-tab on on this environment. (traceallowclient=1,traceeventsenabled=1;100;101;202;203;204;205,tracemaxfilesize=1024 and switching once sqltrace=0-->1)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans