Exception name |
Cause |
Solution |
com.microsoft.sqlserver.jdbc.SQLServerException |
Login failed for user '<user name>'. |
The user name or the password is incorrect. |
Check [User name] or [Password] of the global resource. |
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. |
There is no trust relationship between the domain DataSpiderServer belong to and the one SQL Server 2022 belong to. |
Check the domain DataSpiderServer belong to and the one SQL Server 2022 belong to. |
Cannot open database "<database name>" requested by the login. The login failed. |
The database is invalid. |
Check [Database name] of the global resource. |
The TCP/IP connection to the host <host name>, port <port number> has failed. |
Unable to connect to the database. |
Check [Host name] of the global resource, or the network. |
Invalid object name '<table name>'. |
The table does not exist. |
Specify an existing table in [Table name]. |
Incorrect syntax near ‘<invalid string in table name>’. |
The table name may not be in accordance with the rules of Transact-SQL standard identifier. |
Enclose the table specified in [Table name] with quotation marks. |
This driver is not configured for integrated authentication. |
Library for Windows authentication may not be placed. |
Check the directory where mssql-jdbc_auth-12.4.<version>.<x64 or x86>.dll was placed. |
"encrypt" property is set to "true" and "trustServerCertificate" property is set to "false" but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. |
The certificate is not imported to the keystore referred by DataSpiderServer. |
Import a certificate to the keystore referred by DataSpiderServer.
For more details on how to import a certificate, refer to “Import Certificate”. |