This SqlTransaction has completed it is no longer usable

Xwioch
Member Posts: 24
in SQL General
Hi folks,
I am facing this error for days and I still can't find a solution.
Here is the error:

I have multiple services that connect on the same sql server instance and obviously on the same database.
Our IT Managers did this for balance computing, or at least this is what they said.
This is part of the stack trace, hoping could help:
When the error occours, the "victim" nav service stop working and all the connected users can't do anything. They must exit and try to login again after few minutes.
The other services still working fine. This happen randomly, I didn't find any event that raise the error.
I am facing this error for days and I still can't find a solution.
Here is the error:

I have multiple services that connect on the same sql server instance and obviously on the same database.
Our IT Managers did this for balance computing, or at least this is what they said.
This is part of the stack trace, hoping could help:
Type: System.InvalidOperationException Message: <ii>This SqlTransaction has completed; it is no longer usable.</ii> StackTrace: at System.Data.SqlClient.SqlTransaction.ZombieCheck() at System.Data.SqlClient.SqlTransaction.Commit() at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.<>c__DisplayClass111_0.<ExecuteAction>b__0() Source: System.Data HResult: -2146233079 </ii>
When the error occours, the "victim" nav service stop working and all the connected users can't do anything. They must exit and try to login again after few minutes.
The other services still working fine. This happen randomly, I didn't find any event that raise the error.
0
Answers
-
No one with this kind of problem?
I'm still having this issue.
I can add that I'm using NAV 2018 with sql 2016 standard.0 -
Hi Xwioch
Did you solve this issue? We have unfortunately the same problem in NAV2018. We have more services connected to the same SQL and database too, for balancing reasons.
Thank you
Marica0 -
Please check for the 'xact abort' setting in SQL. More information can be found on https://cloudblogs.microsoft.com/dynamics365/no-audience/2015/04/15/watch-out-for-zombies-when-using-microsoft-dynamics-nav-with-xact-abort-enabled/0
-
HI,
have you solved the problem by any chance. I have the same problem for Microsoft Dynamics Business Central 14
I have 'xact abort' = false0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions