Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup' error starting NAV 2018 CU06 service

(0) ShareShare
ReportReport
Posted on by 393

Hi,

In the event log we are finding three errors starting a NAV service:

Server instance: aa <ii>Se produjo una excepción en el inicializador de tipo de 'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup'.</ii>

Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup-error.png

We have tried starting the service as a domain user and a local SYSTEM user, with both having access to the database, as per the following instructrions:

https://docs.microsoft.com/en-us/dynamics-nav/provisioning-the-microsoft-dynamics-nav-server-account

We have also asociated the service with the Cronus database, found in the installation files, but the same error occurs.

Initially we found that the service user had certain domain policies that stopped it from Logging on as a service (despite being added as the machine administrator), but we suspect that perhaps other restrictions may be in place.

Any suggestions? 

Below is the second message in the event log, that may have more information:

+	System
		-	Provider
			[ Name] 	MicrosoftDynamicsNavServer$aa

		-	EventID	216
			[ Qualifiers] 	0

			Level	2

			Task	13

			Keywords	0x80000000000000

		-	TimeCreated
			[ SystemTime] 	2018-10-03T09:14:06.992953700Z

			EventRecordID	3855

			Channel	Application

			Computer	SNavisionPrd.MMCB2.local

Server instance: aa Tenant ID: <ii>User: Type: System.TypeInitializationException TypeName: Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup Message: <ii>Se produjo una excepción en el inicializador de tipo de 'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup'.</ii> StackTrace: en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroups.get_Base() en Microsoft.Dynamics.Nav.Runtime.NavTenant..ctor(NavTenantSettings tenantSettings, NavDatabaseServer databaseServer, NavTenantState initialState, Boolean isInExclusiveAccessMode) en Microsoft.Dynamics.Nav.Runtime.NavSystemTenant..ctor(NavDatabaseServer databaseServer, String appDatabaseName) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSystemTenant(String appDatabaseServerName, String appDatabaseName, String appDatabaseUserName, ProtectedDatabasePassword appDatabasePassword, Boolean verifyConnection, String newEncryptionKey, IDatabasePasswordPublicEncryptionKeyStorage keyStorage, Boolean allowOverwritePublicKey, Boolean verifyServerInstanceKey) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSingleLegacyTenant(String databaseServerName, String databaseName, String databaseUserName, ProtectedDatabasePassword databasePassword, EncryptionProvider encryptionProvider, AzureKeyVaultSettings azureKeyVaultSettings) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.ConfigureTenants(ServerUserSettings settings, String encryptionKey) en Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass11_0.<StartNewTask>b__0() en System.Threading.Tasks.Task.Execute() Source: Microsoft.Dynamics.Nav.Ncl HResult: -2146233036 ---------------------------------- Type: System.Reflection.TargetInvocationException Message: <ii>Se produjo una excepción en el destino de la invocación.</ii> StackTrace: en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) en System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args) en System.Security.Cryptography.MD5.Create() en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup..ctor(Int32 groupId, OrderedAppCombination appCombo, IEnumerable`1 groupSummaries) en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup..cctor() Source: mscorlib HResult: -2146232828 ---------------------------------- Type: System.InvalidOperationException Message: <ii>Esta implementación no forma parte de los algoritmos criptográficos validados por el FIPS de la plataforma Windows.</ii> StackTrace: en System.Security.Cryptography.MD5CryptoServiceProvider..ctor() Source: mscorlib HResult: -2146233079 </ii>

Third error message:

Server instance: aa Tenant ID: <ii>User: Type: System.TypeInitializationException TypeName: Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup Message: <ii>Se produjo una excepción en el inicializador de tipo de 'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup'.</ii> StackTrace: en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroups.get_Base() en Microsoft.Dynamics.Nav.Runtime.NavTenant..ctor(NavTenantSettings tenantSettings, NavDatabaseServer databaseServer, NavTenantState initialState, Boolean isInExclusiveAccessMode) en Microsoft.Dynamics.Nav.Runtime.NavSystemTenant..ctor(NavDatabaseServer databaseServer, String appDatabaseName) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSystemTenant(String appDatabaseServerName, String appDatabaseName, String appDatabaseUserName, ProtectedDatabasePassword appDatabasePassword, Boolean verifyConnection, String newEncryptionKey, IDatabasePasswordPublicEncryptionKeyStorage keyStorage, Boolean allowOverwritePublicKey, Boolean verifyServerInstanceKey) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSingleLegacyTenant(String databaseServerName, String databaseName, String databaseUserName, ProtectedDatabasePassword databasePassword, EncryptionProvider encryptionProvider, AzureKeyVaultSettings azureKeyVaultSettings) en Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.ConfigureTenants(ServerUserSettings settings, String encryptionKey) en Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass11_0.<StartNewTask>b__0() en System.Threading.Tasks.Task.Execute() Source: Microsoft.Dynamics.Nav.Ncl HResult: -2146233036 ---------------------------------- Type: System.Reflection.TargetInvocationException Message: <ii>Se produjo una excepción en el destino de la invocación.</ii> StackTrace: en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) en System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args) en System.Security.Cryptography.MD5.Create() en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup..ctor(Int32 groupId, OrderedAppCombination appCombo, IEnumerable`1 groupSummaries) en Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup..cctor() Source: mscorlib HResult: -2146232828 ---------------------------------- Type: System.InvalidOperationException Message: <ii>Esta implementación no forma parte de los algoritmos criptográficos validados por el FIPS de la plataforma Windows.</ii> StackTrace: en System.Security.Cryptography.MD5CryptoServiceProvider..ctor() Source: mscorlib HResult: -2146233079 </ii>

*This post is locked for comments

  • Verified answer
    Ian Schofield Profile Picture
    393 on at
    RE: 'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup' error starting NAV 2018 CU06 service

    Confirmed.

    Our customer has now deactivated FIPS in the registry, restarted the server, and can now connect the NAV client to the service.

    FIPS-Registry-setting.png

    Two doubts remain:

    • Why would someone outside of the U.S. activate FIPS, especially when Microsoft doesn't recommend activating it?  Presumably it's related to some security concern but the origins of FIPS is a U.S. government computer security standard.
    • Has FIPS been applied by a domain directive, and will it be necessary to move the computer to an Organisational Unit without FIPS applied?

    Regards

    Ian

  • Ian Schofield Profile Picture
    393 on at
    RE: 'Microsoft.Dynamics.Nav.Runtime.Apps.NavAppGroup' error starting NAV 2018 CU06 service

    Have requested customer to check if their server has FIPS enabled.  Will update the thread with the result.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,349 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,029 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans