NAV Service start error

KTA8
Member Posts: 399
We're facing a issue that NAS Service doesn't start.
System events error:
La sesión Microsoft Dynamics NAV Application Server para el inquilino 'default' tiene un error permanente y no se reiniciará. Motivo: Type: System.ArgumentException
Message: Ya se agregó un elemento con la misma clave.
StackTrace:
en System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.LoadLanguages()
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetLanguageIdByAbbreviatedName(String abbreviatedName)
en Microsoft.Dynamics.Nav.Runtime.NCLCaptionStrings.CreateNCLCaptionStrings(String captionML, String defaultValue)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaTable.AssignFromMetaTable(MetaTable metaTable, Boolean databaseConvertedFromNav2013)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
en Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId, Boolean requireCompiled)
en Microsoft.Dynamics.Nav.Runtime.NavRecord..ctor(ITreeObject parent, Int32 tableId, NCLMetaTable metaTable, Boolean isTemporary, NavRecord sharedTable, String companyName, SecurityFiltering securityFiltering)
en Microsoft.Dynamics.Nav.Runtime.NavSession.GetPersonalization()
en Microsoft.Dynamics.Nav.Runtime.NavSession.Open(Boolean useUserPersonalization, Byte[] licenseToUse)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__b.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext()
Source: mscorlib
HResult: -2147024809
System events error:
La sesión Microsoft Dynamics NAV Application Server para el inquilino 'default' tiene un error permanente y no se reiniciará. Motivo: Type: System.ArgumentException
Message: Ya se agregó un elemento con la misma clave.
StackTrace:
en System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.LoadLanguages()
en Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetLanguageIdByAbbreviatedName(String abbreviatedName)
en Microsoft.Dynamics.Nav.Runtime.NCLCaptionStrings.CreateNCLCaptionStrings(String captionML, String defaultValue)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaTable.AssignFromMetaTable(MetaTable metaTable, Boolean databaseConvertedFromNav2013)
en Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
en Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId, Boolean requireCompiled)
en Microsoft.Dynamics.Nav.Runtime.NavRecord..ctor(ITreeObject parent, Int32 tableId, NCLMetaTable metaTable, Boolean isTemporary, NavRecord sharedTable, String companyName, SecurityFiltering securityFiltering)
en Microsoft.Dynamics.Nav.Runtime.NavSession.GetPersonalization()
en Microsoft.Dynamics.Nav.Runtime.NavSession.Open(Boolean useUserPersonalization, Byte[] licenseToUse)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__b.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext()
Source: mscorlib
HResult: -2147024809
0
Best Answer
-
2015. Ignore my post regarding Task Scheduler - it does not exist in 2015.
I have googled for GetLanguageIdByAbbreviatedName and found this. It looks like you migh need to apply platform cumulative update to get it working...
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035
Answers
-
this database has been opened with a new version of NAV0
-
guidorobben wrote: »this database has been opened with a new version of NAV
No, we're only moving data and dynamics nav to new servers.0 -
Try Disabling the task scheduler in NST settings and see if it has any impactSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Also it is just a gut feeling, reading the error stack above: may it be related to different regional settings between the machines? Ie you have some your old machine setup for particular region/country/language, and this is different on the new box?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »Try Disabling the task scheduler in NST settings and see if it has any impact
What do you mean with NST?0 -
NAV Service Tier. The thing you connect to with your RTC client.
What NAV version are you on?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »NAV Service Tier. The thing you connect to with your RTC client.
What NAV version are you on?
2015. I've observed that the first time I try to enter as client, it throws an error message that close the application but then I've no more problems in client mode. So, I guess that maybe it's in NAS where I found the problem but maybe it more general that I thought.0 -
2015. Ignore my post regarding Task Scheduler - it does not exist in 2015.
I have googled for GetLanguageIdByAbbreviatedName and found this. It looks like you migh need to apply platform cumulative update to get it working...
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035 -
Slawek_Guzek wrote: »2015. Ignore my post regarding Task Scheduler - it does not exist in 2015.
I have googled for GetLanguageIdByAbbreviatedName and found this. It looks like you migh need to apply platform cumulative update to get it working...
It looks like the same issue, it will check that; thanks.0 -
Slawek_Guzek wrote: »2015. Ignore my post regarding Task Scheduler - it does not exist in 2015.
I have googled for GetLanguageIdByAbbreviatedName and found this. It looks like you migh need to apply platform cumulative update to get it working...
Finally it was the version, I guess the previous partner has copied some files without upgrading0 -
have the exact same issue, when upgrading NAV2015 from server 2012R2 to server 2019.
@KTA8 what do you mean by "it was the version"? what did you change exactly?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