NAV 2009 Error Logging and Relevant Stack Trace Data?
u382514
Member Posts: 12
I am looking for a way to log all error messages from the NAV Server that contains relevant stack trace information similiar to what is provided in 'GETLASTERRORCALLSTACK'. I've added a trace listener in the Server.exe.config file that is successfully logging all errors from NAV however the stack trace data that comes from it is ambiguous (i.e. ...at Microsoft.Dynamics.Nav.Service.NSService.RunReport(ApplicationMethodRequest applicationMethodRequest)... This should tell me what report was ran just like GETLASTERRORCALLSTACK would but alas this is the only info it provides). Also USER information showing what user ID was used when the error was called would be beneficial too.
Basically we need a way to log relevant error information so when our customers ask us why an error has occured we can quickly diagnose the problem. Obviously it's not feasible to go through every codeunit/form/report/etc to add logic to call GETLASTERRORCALLSTACK and it's also not feasible to use client monitor/etc on a customers server especially when the error could occur at any time.
Is there a way to get this information out of NAV 2009? Any help would be greatly appreciated!
THANKS!
Basically we need a way to log relevant error information so when our customers ask us why an error has occured we can quickly diagnose the problem. Obviously it's not feasible to go through every codeunit/form/report/etc to add logic to call GETLASTERRORCALLSTACK and it's also not feasible to use client monitor/etc on a customers server especially when the error could occur at any time.
Is there a way to get this information out of NAV 2009? Any help would be greatly appreciated!
THANKS!
0
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