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. Database & SysAdmin
  3. Database
  4. Error 40

Error 40

Scheduled Pinned Locked Moved Database
databasehelpcsharpsql-servervisual-studio
2 Posts 2 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.
  • J Offline
    J Offline
    Jijo BP
    wrote on last edited by
    #1

    Hi Friends, While I am trying to connect to the database server I am getting the following error. 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) I checked my web.config file. I didnt find any errors in this. Please help me to solve this. I am using VS 2005 and SQL Server 2000 Thank you Jijo

    JIJO BABY - Lets Play C#

    E 1 Reply Last reply
    0
    • J Jijo BP

      Hi Friends, While I am trying to connect to the database server I am getting the following error. 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) I checked my web.config file. I didnt find any errors in this. Please help me to solve this. I am using VS 2005 and SQL Server 2000 Thank you Jijo

      JIJO BABY - Lets Play C#

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      How are you connecting, SQL based Authentication? (I.e. username and password), if so then SQL by default does not have this enabled, you'll need to open up the MMC snap-in for SQL and enable it. If the SQL Admin doesn't know how to do this then... Google :rolleyes:


      Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

      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