Ask a questionAsk a question
 

QuestionError #40 is making my life a nightmare!

  • Saturday, November 07, 2009 6:40 AMPonyJohn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Evey time I try to run any of the samples programs I get this error msg...
    Class=20
      ErrorCode=-2146232060
      LineNumber=0
      Message="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)"         I've run out of ideas to overcome this, can anybody help??

All Replies

  • Thursday, November 12, 2009 2:07 AMMelissa Suciadi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    what methods have you tried?

    Best Regards,
    Melissa Suciadi


    If you have found this post helpful, please click the 'Vote as Helpful' link (the green triangle and number on the top-left).

    If this post answers your question, click the 'Mark As Answered' link below. It helps others who experience the same issue in future to find the solution.