Dynamics NAV 2017 with Credential Type NAVUserPassword or AccessControlService error

NAVFuchsNAVFuchs Member Posts: 76
edited 2018-02-28 in NAV Three Tier
Hy,
I am trying to configure Dynamics NAV Service with the Credential Types shown in headline, but Always starting they service
leads to following error:

I want to expirience with Office365 and Excel Addin Editing.

I have no clue what could be wrong. Service works fine with Credential Type Windows.

Server instance: DynamicsNAV100Cronus
<ii>Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Tenant".</ii>
Server instance: DynamicsNAV100Cronus
Tenant ID:
<ii>User:
Type: System.ObjectDisposedException
Message:
<ii>Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Tenant".</ii>
ObjectName: Tenant
StackTrace:
bei Microsoft.Dynamics.Nav.Runtime.NavTenant.get_Database()
bei Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.CompileBusinessApplication()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146232798
</ii>
Server instance: DynamicsNAV100Cronus
Tenant ID:
<ii>User:
Type: System.ObjectDisposedException
Message:
<ii>Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Tenant".</ii>
ObjectName: Tenant
StackTrace:
bei Microsoft.Dynamics.Nav.Runtime.NavTenant.get_Database()
bei Microsoft.Dynamics.Nav.Runtime.NavUserPermissions..ctor(NavUser user, NavSession session)
bei Microsoft.Dynamics.Nav.Runtime.NavSession.Open(Boolean useUserPersonalization, Byte[] licenseToUse, Boolean allowAppsDisabledMode)
bei Microsoft.Dynamics.Nav.Runtime.NavTenant.Microsoft.Dynamics.Nav.Runtime.ITenantSessionHandler.RunTenantActionInSystemSession(Action`2 action, Boolean throwExceptions, Boolean useCurrentCulture, Boolean allowAppsDisabledMode)
bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionMetadata.GetIdsOfAllEventSubscriberCodeunits()
bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionMetadata.Initialize(Boolean bindSubscriptions)
bei Microsoft.Dynamics.Nav.Runtime.NavEnvironment.OnApplicationMounted(NavTenantCollection tenantCollection)
bei Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSystemTenant(String appDatabaseServerName, String appDatabaseName, String appDatabaseUserName, ProtectedDatabasePassword appDatabasePassword, Boolean verifyConnection, String newEncryptionKey, IDatabasePasswordPublicEncryptionKeyStorage keyStorage, Boolean allowOverwritePublicKey, Boolean verifyServerInstanceKey)
bei Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.AddSingleLegacyTenant(String databaseServerName, String databaseName, String databaseUserName, ProtectedDatabasePassword databasePassword, EncryptionProvider encryptionProvider, AzureKeyVaultSettings azureKeyVaultSettings)
bei Microsoft.Dynamics.Nav.Runtime.NavTenantCollection.ConfigureTenants(ServerUserSettings settings)
bei Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass11_0.<StartNewTask>b__0()
bei System.Threading.Tasks.Task.Execute()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146232798

Answers

  • KishormKishorm Member Posts: 921
    You need to update the following config file...

    <username>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\100\ClientuserSettings.config

    ...change the ClientServicesCredentialType setting to AccessControlService
Sign In or Register to comment.