locked
connection problem RRS feed

  • Question

  • Hi,

    If sql server is not getting connected how to resolve it?

    Thursday, August 1, 2013 8:22 PM

Answers

  • Please check the error message & share the same.

    Only Guess, SQL Server connectivity is the most common issue & below mention errors is also common at time of connectivity issue.

    Error :

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

    Check for below things

    1. Check SQL services are running

    2. Check SQL Browser service is running

    3. Check remote connections are enabled

    4. Network connectivity between database & application servers by TRACERT command

    5. Check TCP/IP protocol enabled at SQL server

    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>

    7. Check UDP port 1434 is open or not on SQL Server

    8. Check firewall is running or not Check

    9. If firewall running, SQL Server & UDP port must be added in exception in firewall



    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    Friday, August 2, 2013 5:02 AM
  • Hi  Reddy.s,

    Database Connection Problems may occur because of many reason.

    Please share the specific error message for us as we could analysis further.

    You could also refer below articles to troubleshooting the common connection problems.

    Troubleshooting Server and Database Connection Problems

    http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx

    Thanks,

    Candy Zhou


    • Edited by Candy_Zhou Monday, August 5, 2013 1:18 AM edit
    • Marked as answer by Allen Li - MSFT Tuesday, August 13, 2013 10:53 PM
    Monday, August 5, 2013 1:18 AM

All replies

  • If sql server is not getting connected how to resolve it?


    If it's not getting connected, you get in common an error message (e.g. in ErrorLog), so what for an error message do you get? Without this information it's hard to guess the reason.

    Olaf Helper

    [ Blog] [ Xing] [ MVP]

    Friday, August 2, 2013 4:24 AM
  • Please check the error message & share the same.

    Only Guess, SQL Server connectivity is the most common issue & below mention errors is also common at time of connectivity issue.

    Error :

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

    Check for below things

    1. Check SQL services are running

    2. Check SQL Browser service is running

    3. Check remote connections are enabled

    4. Network connectivity between database & application servers by TRACERT command

    5. Check TCP/IP protocol enabled at SQL server

    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>

    7. Check UDP port 1434 is open or not on SQL Server

    8. Check firewall is running or not Check

    9. If firewall running, SQL Server & UDP port must be added in exception in firewall



    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    Friday, August 2, 2013 5:02 AM
  • As already suggested, please share the error message...

    Please click the Mark as answer button and vote as helpful if this reply solves your problem

    Friday, August 2, 2013 4:29 PM
  • Hi  Reddy.s,

    Database Connection Problems may occur because of many reason.

    Please share the specific error message for us as we could analysis further.

    You could also refer below articles to troubleshooting the common connection problems.

    Troubleshooting Server and Database Connection Problems

    http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx

    Thanks,

    Candy Zhou


    • Edited by Candy_Zhou Monday, August 5, 2013 1:18 AM edit
    • Marked as answer by Allen Li - MSFT Tuesday, August 13, 2013 10:53 PM
    Monday, August 5, 2013 1:18 AM