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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Server Error i need to solve this error

Server Error i need to solve this error

Scheduled Pinned Locked Moved Database
sysadmindatabasesql-serverhelp
5 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.
  • R Offline
    R Offline
    Rami Said Abd Alhalim
    wrote on last edited by
    #1

    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 need to solve this error I set TCP\IP protcol server and named pipes in network configration but this error have still Rami said Abdalhalim

    B T 2 Replies Last reply
    0
    • R Rami Said Abd Alhalim

      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 need to solve this error I set TCP\IP protcol server and named pipes in network configration but this error have still Rami said Abdalhalim

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      start service named W3SVC (World Wide Web Publishing)


      I Love SQL

      R 1 Reply Last reply
      0
      • B Blue_Boy

        start service named W3SVC (World Wide Web Publishing)


        I Love SQL

        R Offline
        R Offline
        Rami Said Abd Alhalim
        wrote on last edited by
        #3

        this service started before this error Rami SAid Abd Alhalim

        1 Reply Last reply
        0
        • R Rami Said Abd Alhalim

          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 need to solve this error I set TCP\IP protcol server and named pipes in network configration but this error have still Rami said Abdalhalim

          T Offline
          T Offline
          Talal Sultan
          wrote on last edited by
          #4

          Is the SQL Server 2005 you are trying to access on another machine? Because if it is, you might be having a firewall on that machine which is preventing your code from access the database server. Talal

          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

          R 1 Reply Last reply
          0
          • T Talal Sultan

            Is the SQL Server 2005 you are trying to access on another machine? Because if it is, you might be having a firewall on that machine which is preventing your code from access the database server. Talal

            "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

            R Offline
            R Offline
            Rami Said Abd Alhalim
            wrote on last edited by
            #5

            thanks talal : but i am using sql server 2000 and i trying test on application without firewall(Stop Firewall),and i opened all ports to connection on server (TCP/IP)port but i have the same problem

            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