ERROR WHEN TRYING TO ACCESS CURRENT SESSIONS
andrew_rampton
Member Posts: 8
we have NAV 4.0 SP2 and have encountered a permanent problem when trying to access current sessions under file... database.... information...
the message we get is attached
can anyone help with a solution on this one ?
thanks
andrew
the message we get is attached
can anyone help with a solution on this one ?
thanks
andrew
0
Comments
-
thankyou belias
as a novice user and new to this forum can you explain further what you mean and perhaps give me a link to the article
regards
andrew0 -
Hej the solution is the 4.03 upgrade pack where it is officially fixed.
The work around is below. Just a tip if you actually type in the error message in google or mibuso you find the answer pretty quickly rather then asking.
WORKAROUND
Difference of two datetime columns caused overflow at runtime
Hi,
This error, occuring in the Sessions tab of the File Database Information window in NAV 4.00, will be solved in NAV 4.00 SP3. For the time being, you can apply the following workaround.
In SQL Server, NAV creates a view called “Session” in the NAV database. You can modify the definition of the view as followed:
Replace CASE WHEN SP.[cmd] = 'AWAITING COMMAND' THEN CAST(DATEDIFF(SECOND, SP.[last_batch], GETDATE()) AS BIGINT) * 1000 ELSE 0 END AS [Idle Time]
with CASE WHEN SP.[cmd] = 'AWAITING COMMAND' THEN CAST(0 AS BIGINT) ELSE 0 END AS [Idle Time]
Every time a new NAV database is created in SQL Server, the view needs to be modified manually unless NAV 4.00 SP3 is used.0 -
andrew rampton wrote:as a novice user ...
in this case, you should contact your partner. You probably don't have the skills needed to fix this (its not just a case of knowing SQL, you need Navision knowledge as well). Playing with it in house could damage your system.
PS its odd that your partner did not inform you of this issue, since it has been known for a long time now. I would ask them what their procedures are for informing you of known bugs and fixes. Who knows what other problems your system may have.David Singleton0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
