Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To make Active Directory Password and Active Directory MSI connections from DaticalDB, you need to have the adal.dll file in C:\Windows\System32. For the Active Directory Integrated connection, you need two files - adal.dll and mssql-jdbc_auth-<version>.<arch>.dll.

  • If you receive an "Login failed to authenticate the user in Active Directory (Authentication=ActiveDirectoryIntegrated)", you may need to add a mssql-jdbc_auth-<version>.x64.dllentry in the Windows registry::

  1. Enter Registry Editor in the Windows search box on the taskbar and open the Registry Editor app. If you are prompted by User Account Control, select Yes.

  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSJDBCAUTHDLL, double-click the TargetDir file, and then add the following path:

Code Block
C:\\WINDOWS\\System32\\mssql-jdbc_auth-<version>.x64.dll

3. Select OK to save the changes.

Info

If you do not have privileges to copy files to C:\Windows\System32 or to run the Registry Editor, contact your IT support group for assistance.

  • If you receive an "Unable to load adalsql.dll" error message after downloading the adal.dll file and copying it to C:\Windows\System32, you will need to add an entry for adal.dll in the Windows registry.

Info

As the adalsql.dll file is outdated, the adal.dll should be used instead.

...

Code Block
C:\\WINDOWS\\System32\\adal.dll

...

    ...

    1. Select OK to save the changes.

    Info

    If you do not have privileges to copy files to C:\Windows\System32 or to run the Registry Editor, contact your IT support group for assistance.

    ...