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 2019 belong to. |
Check the domain DataSpiderServer belong to and the one SQL Server 2019 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 ‘<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-8.2.0.x64.dll was placed. |