Difference of two datetime columns caused overflow at runtim

alijarte
Member Posts: 30
Lads,
I got this error whenever a user tries to connect to Navision.
A huge window pops-up with an SQL server error as follows:
"Difference of two datetime columns caused overflow at runtime"
"The statement has been terminated"
Followed by a massive error message which you can see at:
http://www.keg.com/HyperNewsPics/granerror.jpg
Anyone?any idea?
Thanks,
Ch.
I got this error whenever a user tries to connect to Navision.
A huge window pops-up with an SQL server error as follows:
"Difference of two datetime columns caused overflow at runtime"
"The statement has been terminated"
Followed by a massive error message which you can see at:
http://www.keg.com/HyperNewsPics/granerror.jpg
Anyone?any idea?
Thanks,
Ch.
Ch.
0
Comments
-
-
It is problem of some long time idle session on MS SQL server... the session view is calculating the IdleTime in ms and tthe result is bigger than used datatype. Look on MS SQL Enterprise manager into sessions and kill the long time idle session.... or modify the Session view in Navision DB to cut the no to biggest bigint no...0
-
Excuse my ignorance, but how could I be sure that a process is idle? To calculate idle time, shall I compare "login time" and "last batch" within the current activity --> process info?
Or simply the "last batch" shows the last time the user executed something?
Any other way?
Thanks,
Ch.Ch.0 -
DenSter wrote:That link says I don't have permissions to view the picture.
(I think they check the referer?)Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
alijarte wrote:To calculate idle time, shall I compare "login time" and "last batch" within the current activity --> process info?
Or simply the "last batch" shows the last time the user executed something?
Yes, last batch is when was last query executed...0 -
kine wrote:or modify the Session view in Navision DB to cut the no to biggest bigint no...
Yes, but the Session View (and the session table) is a system object which cannot be altered by using the normal object designer ?
How to accomplish this ?=(there is no question that cannot be used if we use our brain)=0 -
By editing the view by SQL tools... it is common view, connected into Navision... (for example by Enterprise Manager)0
-
Hmm, definitly quite a hack
But surely possible. Thanks.=(there is no question that cannot be used if we use our brain)=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