Skip to content

AWS SCT reports not running with Windows Login

0

Hi ,

I am running AWS SCT reports for MSSQL server and when i am using the windows login to run the SCT reports. I am getting below error. I already set-up the driver's path in drivers. what i am missing here.

drivers: C:\JDBC\sqljdbc_13.2\enu\jars\mssql-jdbc-13.2.0.jre11.jar SCT have latest version 677 SCT Reports ok with SQL Authentication.

Enter image description here

1 Answer
0

When using Windows Authentication with AWS Schema Conversion Tool (SCT) for SQL Server connections, you're encountering a common issue related to the JDBC driver configuration for integrated authentication.

The error occurs because the JDBC driver isn't properly configured to use Windows Authentication. To resolve this issue, you need to take the following steps:

  1. Make sure you have the sqljdbc_auth.dll file available. This DLL is required for Windows Authentication and should be included in your JDBC driver package.

  2. Set up environment variables that point to your JDBC installation:

  • Create a variable named SQLJDBC_HOME with the path to where your sqljdbc4.jar exists
  • Create a variable named SQLJDBC_AUTH_HOME pointing to the auth folder where sqljdbc_auth.dll is located (use the x64 folder if you're on a 64-bit system)
  1. Copy the sqljdbc_auth.dll file to the folder where your JDK/JRE is running. You may need to copy it to multiple locations such as:
  • The JDK bin folder
  • The JDK jre\bin folder
  • The JDK jre\lib folder
  • The JDK lib folder
  1. Ensure that in your JDBC library folder, you only have the appropriate JDBC JAR file and remove any other sqljdbc*.jar files from that folder.

  2. You can also try copying the sqljdbc_auth.dll file to the folder where your AWS SCT application is installed.

These steps should help configure the JDBC driver properly for Windows Authentication with AWS SCT. If you continue to have issues, you might want to temporarily switch to SQL Server Authentication for your SCT tasks until the Windows Authentication configuration is resolved.
Sources
Connect Microsoft SQL Servers with AWS Schema Conversion Tool - AWS Schema Conversion Tool

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.