com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'user2'.

Coderanch | jim shirreffs | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SqlServer: Login failed for user (JDBC and Relational Databases forum at JavaRanch)

    coderanch.com | 1 year ago
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'user2'.
  2. 0

    SqlServer: Login failed for user

    Coderanch | 9 years ago | jim shirreffs
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'user2'.
  3. 0

    Java y Sql Server

    el-hacker.com | 2 years ago
    com.microsoft.sqlserver.jdbc.SQLServerException: No se pudo realizar la conexión TCP/IP al host (aqui muestra mi servidor o mi ip), puerto 1433. Error: "Connection refused: connect. Verifique las propiedades de conexión, compruebe que hay una instancia de SQL Server ejecutándose en el host y aceptando las conexiones TCP/IP en el puerto y compruebe que no hay ningún firewall bloqueando las conexiones TCP en el puerto.".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQL Server Connection String Difference 2005 to 2012

    Stack Overflow | 3 years ago | MattB
    com.microsoft.sqlserver.jdbc.SQLServerException: The connection string contains a badly formed name or value.
  6. 0

    Port number is not correct while connecting to sql server

    Stack Overflow | 3 years ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The port number 1433/test is not valid.

  1. drFaust 1 times, last 3 months ago
  2. musketyr 1 times, last 5 months ago
  3. balintn 2 times, last 8 months ago
  4. SteVio1989 1 times, last 2 weeks ago
  5. Andreas Häber 2 times, last 1 month ago
1 more registered users
48 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.microsoft.sqlserver.jdbc.SQLServerException

    Login failed for user 'user2'.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError()
  2. com.microsoft.sqlserver
    SQLServerDriver.connect
    1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    2. com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(Unknown Source)
    3. com.microsoft.sqlserver.jdbc.TDSParser.parse(Unknown Source)
    4. com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Unknown Source)
    5. com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Unknown Source)
    6. com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(Unknown Source)
    7. com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(Unknown Source)
    8. com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
    9. com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
    10. com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
    11. com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
    12. com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
    13. com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
    13 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:582)
    2. java.sql.DriverManager.getConnection(DriverManager.java:207)
    2 frames