Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via wordpress.com by Unknown author, 1 year ago
Cannot open databaseHArequested by the login. The login failed.
via jtds by adam_hughes
, 2 years ago
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
via jtds by sathishv
, 2 years ago
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
via jtds by *anonymous
, 2 years ago
Cannot open database requested in login 'testdb'. Login fails.
via Oracle Community by 800455, 2 years ago
Cannot open database requested in login 'FA_Shropshire'. Login fails.
java.sql.SQLException: Cannot open database “HA” requested by the login. The login failed. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258) at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:610) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:345) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:579) at java.sql.DriverManager.getConnection(DriverManager.java:243) at com.gitz.Test.main(Test.java:32)