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 :
Finance | Project Operations, Human Resources, ...
Unanswered

SQL Server Hang Issue

(0) ShareShare
ReportReport
Posted on by 15

One of our customers is having a strange issue, they work normally but suddenly their SQL server hangs and dex session and dex lock tables do not open. users seem to be working normally but when they attempt to post any sales or inventory transactions posting gets interrupted. In order to solve that they have to restart their server every time this happens.

I have the same question (0)
  • Mimi Yoshida Profile Picture
    on at

    Hi MMAGDY,

    Have you tried taking traces by Trace parser?

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/trace-trace-tutorial

    First, to best capture everything we want all caches cleared that means doing an IISRESET first. Navigate to the totals form, then turn on the trace.

    If you will not be able to resolve the issue, you can reach out to Microsoft support for further investigation.

  • MMAGDY Profile Picture
    15 on at

    Hi Mamina,

    We have tried all different kinds of traces and there was no noticeable issues. Several cases were opened with Microsoft and there was no issues at application or database end. The conclusion of all that is that it's an environmental issue related to the customer's specific environment.

    But the customer really wants to understand what's wrong with their environment even if they need an infrastructure engineer to understand the root cause of the issue and how they can solve it.

    This customer is working with Microsoft Dynamics GP since 2007 with 73 concurrent users and very heavy inventory, sales & manufacturing transactions. Their end results despite of the hang issues & posting interruptions are accurate because they have a good technical team that follow & solve errors caused by the posting interruptions but the cost of this is so much time spent to correct those issues.

    Our conclusion is that this happens sometimes when there are 15 to 20 users posting very heavy batches at the same time, We see that this causes deadlocks and that posting stops processing, DEX_Session & DEX_Lock tables become inaccessible & in order to get over that we either have to restart the SQL server service or restart the server and then clear DEX_Session, DEX_Lock, Activity, SY00800 & SY00801 and solve the realated issues afterwards but this doesn't guarantee that the issue won't happen again as it keeps coming once or twice a week.

    They are willing to make changes to their infrastructure but they want to know the real cause whether it's related to their server resources or internet provider as their branches use RDS to enter & post their transactions but the problem is that this issue is not within the application scope so they never got a satisfying reply to any of their queries to Microsoft.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans