Windows Client Issue with Credential Type UserName

fazlehasan
fazlehasan Member Posts: 70
Changed ClientServicesCredentialType to Username.

Web client works, but Windows client would complain:
The ClientServicesCredentialType configuration setting cannot be parsed into a valid NavClientCredentialType

Using NAV 2017.

Any suggestion please. Thanks.

Best Answer

Answers

  • soetie
    soetie Member Posts: 62
    Do you have more info? Is ssl cert in place? field checked without spaces etc? when are you getting the error? starting service or client? Did you change the client config file?
  • fazlehasan
    fazlehasan Member Posts: 70
    SSL certificate is installed.

    did not understand what you mean by: "field checked without spaces etc?"

    When trying to login to RTC client, I get the message.

    Client Config file was changed.

    Thanks for your feedback soetie.
  • irasoelbaks
    irasoelbaks Member Posts: 119
    Is the "C:\ProgramData\Microsoft\Microsoft Dynamics NAV\100\ClientUserSettings.config" configured correcly or could you post the contents of it?
  • fazlehasan
    fazlehasan Member Posts: 70
    edited 2021-04-21
    <configuration>
    <appSettings>
    <add key="Server" value="ServerName"/>

    <add key="ClientServicesPort" value="7066"/>

    <add key="ServerInstance" value="InstanceName"/>

    <add key="TenantId" value=""/>

    <add key="ClientServicesProtectionLevel" value="EncryptAndSign"/>

    <add key="UrlHistory" value=""/>

    <add key="ClientServicesCompressionThreshold" value="64"/>

    <add key="ClientServicesChunkSize" value="28"/>

    <add key="MaxNoOfXMLRecordsToSend" value="5000"/>

    <add key="MaxImageSize" value="26214400"/>

    <add key="ClientServicesCredentialType" value="Username"/>

    <add key="ACSUri" value=""/>

    <add key="AllowNtlm" value="true"/>

    <add key="ServicePrincipalNameRequired" value="False"/>

    <add key="ServicesCertificateValidationEnabled" value="true"/>

    <add key="DnsIdentity" value="NavServiceCert"/>

    <add key="HelpServer" value="ServerName"/>

    <add key="HelpServerPort" value="49000"/>

    <add key="ProductName" value=""/>

    </appSettings>
    </configuration>
  • fazlehasan
    fazlehasan Member Posts: 70
    Answer ✓
    This link helped me to resolve the issue: https://nandeshgowda-navblog.blogspot.com/2016/09/the-clientservicescredentialtype.html

    I changed "ClientServicesCredentialType" value from "Username" to "UserName" to match with Server config file.