Login failed for user 'user2'.

Coderanch | jim shirreffs | 9 years ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SqlServer: Login failed for user (JDBC and Relational Databases forum at JavaRanch) | 1 year ago Login failed for user 'user2'.
  2. 0

    SqlServer: Login failed for user

    Coderanch | 9 years ago | jim shirreffs Login failed for user 'user2'.
  3. 0

    Java y Sql Server | 2 years ago 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

    Unable to connect to MSSQL Server 2012 using sqljdbc4.jar

    Stack Overflow | 3 years ago | Leejoy Login failed for user 'admin'. ClientConnectionId:1530f396-0935-4c41-92f1-016797a65edd
  6. 0

    SQL Server jdbc connection

    Stack Overflow | 4 years ago | yatinbc The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

  1. musketyr 1 times, last 2 months ago
  2. balintn 2 times, last 5 months ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. SteVio1989 1 times, last 1 month ago
  5. abrazeneb 35 times, last 6 months ago
47 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


    Login failed for user 'user2'.

    1. Source)
    2. Source)
    3. Source)
    4. Source)
    5. Source)
    6.$000(Unknown Source)
    7.$LogonCommand.doExecute(Unknown Source)
    8. Source)
    9. Source)
    10. Source)
    11. Source)
    12. Source)
    13. Source)
    13 frames
  3. Java RT
    1. java.sql.DriverManager.getConnection(
    2. java.sql.DriverManager.getConnection(
    2 frames