NAV17 / NAV16 SQL failure - could not find the prepared statement with handle

sika_rp
Member Posts: 4
Hello all,
more and more customers with NAV2017 and version NAV2016 get an "could not find the prepared statement with handle".
Sometimes once a month, sometimes every week one time.
Than you can only restart SQL Server services / NAV service to solve the problem.

It starts 1 1/2 years ago with the first customer. Now we have 4 customers with this failure.
Are there other solution centers outside with the same problem and do have a fix for this.
In the internet I do not find solid information about this failure.
Best wishes
Siggi
more and more customers with NAV2017 and version NAV2016 get an "could not find the prepared statement with handle".
Sometimes once a month, sometimes every week one time.
Than you can only restart SQL Server services / NAV service to solve the problem.

It starts 1 1/2 years ago with the first customer. Now we have 4 customers with this failure.
Are there other solution centers outside with the same problem and do have a fix for this.
In the internet I do not find solid information about this failure.
Best wishes
Siggi
0
Answers
-
When this error happens? What triggers it or does it happen randomly when operating NAV or does it happen when opening NAV?United Kingdom0
-
You don't see anything special in the eventlog. The NAV Service works normal - suddenly you see a first statment failure in the log. Then you have 5 to 10 more entries of the same failure and navision is blocked.
The only solution is to restart the nav & sql service.0 -
I have not seen this error before but if we can answer below, it might then help to pin point the
1. Do all users get this error or only few?
2. Do you have to restart both nav and sql service? Have you tried restarting just one or the other?
3. After the restart , how long does it take to get this error again. Is there a set time or is it just completely random?
4. Check sql configuration etc, is there anything out of normal?United Kingdom0 -
This error occurs at one user. Afterwards other users get the same error on their request and the service is blocked. You can see all errors at the eventlog of the nav server.0
-
can you share information from the eventlog when the error has happend?. Let us have a look.United Kingdom0
-
It shoes exactly the same error like on the screenshot.0
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