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>
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