got error when trying to connect sql-server


  • hi

    i install sql-server-2008 R2 on new computer Server-2008

    its work excellent, but when i try to connect from other computer i got this 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: 1326)

    i disable the Firewall and i check ping from the computer to the server.

    what can be the problem ?

    Thursday, May 17, 2012 9:51 AM


All replies

  • Make sure TCP/IP protocol is enabled

    server configuration manager->NW configuration->Tcp/IP


    SSMS->Server property ->Connections-> Allow emote connection to this computer   mark it as checked


    Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker

    Thursday, May 17, 2012 9:53 AM
  • can u able to ping destination server..?

    can you connect to your local server first..?

    is SQL service is running..??

    and have u restarted the system after installation..?
    • Edited by skc_chat Thursday, May 17, 2012 9:55 AM
    Thursday, May 17, 2012 9:54 AM
  • How about you put IP of that machine as Server name in Management studio? Can you ping that IP?

    Many Thanks & Best Regards, Hua Min

    Thursday, May 17, 2012 10:09 AM
  • If it is a named instance

    Make sure that SQL service browser is in running state.

    Thursday, May 17, 2012 10:14 AM
  • thanks for the help,

    i try all and still same problem.

    i have ping to the server

    Thursday, May 17, 2012 1:34 PM
  • This blog post includes a couple of troubleshooting actions:

    Erland Sommarskog, SQL Server MVP,
    Thursday, May 17, 2012 1:38 PM