Management Studio, Connect to server

  • Hi all

    - I have 2 SQL server 2008 std installed on 2 server

    - When I click on connect, a Connect dialog appear

    for server1, I enter the server name and password and press connect, All goes fine.

    Now, For Server2, in order to connect this server I had to press option then I change the Network protocol to Named Pipe.

    As it seems to me, if the Network Protocol is TCP/IP server2 does not connect

    I can ping server2, and I also checked in configuration manager in (SQL Server Network Configuation, SQL Native Client)

    Shared Memory1Enabled

    TCP/IP2Enabled

    Named Pipes3Enabled

    VIADisabled

    This is the error message

    TITLE: Connect to Server

    ------------------------------

    Cannot connect to WILCO-SQL.

    ------------------------------

    ADDITIONAL INFORMATION:

    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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)

    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476

    What should I change?

  • If the configuration in SQL Server Configuration Manager is fine, can you try checking the firewall settings.

  • Direct Hit 🙂

    I turned off the firewall and I tried it and it works fine.

    Thank you.

  • Glad that it worked.

    You stated that you have turned off the firewall. It would be better if you add exceptions for SQL Server in your machine, with Firewall enabled.

    To achieve this, you can do the following.

    If you are running the default instance, all you have to do is add sqlserv.exe to the list of exceptions.

    By default, you can locate sqlserv.exe at Program Files\Microsoft SQL Server\\MSSQL\Binn

    If you are running a named instance, you have to add an exception to sqlbrowser.exe as well.

    By default, you can locate sqlbrowser.exe at Program Files\Microsoft SQL Server\90\Shared

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply