Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: How to work with SQL Server Profiler for NAV queries?

$
0
0
I'm not sure if it can be called guidance but this is what I usually do: - start sql profiler with default events and output to a table (start the trace - run your NAV RTC task - stop the trace) - query the new table (TextData) field for specific keywords,tables, databases - you guess are the culprit. The only column filter I can see is for LoginName to be the user under which your nav service runs. As per events, RPC:Completed seems to be the one we are interested in for executed queries, views, or sp. In other instances I ran a query in in SSMS to determine the currently running queries. This approach was useful in one upgrade project where by running one task (transfer data) from upgrade Page 104002 the task would not finish because of some faulty data in our AddOn. Hope it helps!

Viewing all articles
Browse latest Browse all 11285

Trending Articles