NAV2016 crashes when opening new code editor

rsaritzky
Member Posts: 469
Hi all,
My NAV2016 environment has started crashing every time I try to open the code window in the Development Environment. If I change the startup to "useoldeditor = Yes", the old-style editor works fine.
I'm on CU2 of NAV2016. The event viewer shows 2 "error" events:
The second error does seem to point to the CodeEditor:
I've been working in NAV2016 for several weeks now with no problem - then all of a sudden - crash!
Any ideas?
Ron
My NAV2016 environment has started crashing every time I try to open the code window in the Development Environment. If I change the startup to "useoldeditor = Yes", the old-style editor works fine.
I'm on CU2 of NAV2016. The event viewer shows 2 "error" events:
Faulting application name: finsql.exe, version: 9.0.42815.0, time stamp: 0x55f86e91 Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532943a3 Exception code: 0xe0434352 Fault offset: 0x00011d4d Faulting process id: 0x10ae4 Faulting application start time: 0x01d16e745dbc61b1 Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\finsql.exe Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll Report Id: a48cbeee-da67-11e5-80c5-1418772802e8 Faulting package full name: Faulting package-relative application ID:
The second error does seem to point to the CodeEditor:
Application: finsql.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Reflection.ReflectionTypeLoadException Stack: at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue() at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].LazyInitValue() at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Value() at Microsoft.Dynamics.Nav.Prod.CodeEditor.CodeViewModel..ctor() at Microsoft.Dynamics.Nav.Prod.CodeEditor.CodeEditor..ctor(IntPtr) at Microsoft.Dynamics.Nav.Prod.CodeEditor.CodeEditorFactory.CreateCodeEditor(IntPtr) at <Module>.CreateCodeEditor(Void*) at <Module>._WinMainCRTStartup()
I've been working in NAV2016 for several weeks now with no problem - then all of a sudden - crash!
Any ideas?
Ron
Ron
1
Best Answer
-
Followup: I tried uninstalling NAV and reinstalling, but the problem still occurred. I then found this post at community.dynamics.com - it said rather then uninstalling, delete the C:\Program Files (x86)\Microsoft Dynamics NAV\90 directory and then running a "Repair" from the installation DVD. This did solve the problem. Here's the link to the thread:
https://community.dynamics.com/nav/f/34/t/177975
RonRon6
Answers
-
Followup: I tried uninstalling NAV and reinstalling, but the problem still occurred. I then found this post at community.dynamics.com - it said rather then uninstalling, delete the C:\Program Files (x86)\Microsoft Dynamics NAV\90 directory and then running a "Repair" from the installation DVD. This did solve the problem. Here's the link to the thread:
https://community.dynamics.com/nav/f/34/t/177975
RonRon6 -
Thank you very much, I had the same with CU22 and it helped.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
- 322 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