Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. An error has occurred while establishing a connection to the server

An error has occurred while establishing a connection to the server

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    attalurisubbu
    wrote on last edited by
    #1

    Hi, Follwing error : -"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " Version what we are using is Asp.net2.0 + sqlserver2000 Thanks in advance With regards Senthilkumar.T

    E C 2 Replies Last reply
    0
    • A attalurisubbu

      Hi, Follwing error : -"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " Version what we are using is Asp.net2.0 + sqlserver2000 Thanks in advance With regards Senthilkumar.T

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      There could be several reasons why this is happening, a good point to start would be to type that error into google and you will find loads of error messages.

      1 Reply Last reply
      0
      • A attalurisubbu

        Hi, Follwing error : -"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " Version what we are using is Asp.net2.0 + sqlserver2000 Thanks in advance With regards Senthilkumar.T

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        means that your SQL Server is down, your connection string is wrong, or your security settings need to be changed in SQL Server.

        Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups