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. SQL Server2005 connection

SQL Server2005 connection

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadminhelp
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.
  • W Offline
    W Offline
    waheed awan
    wrote on last edited by
    #1

    i have created a data base connection but when the connection.Open() statement is executed i get the following exception " 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." what should i do ............... thanks

    E P 2 Replies Last reply
    0
    • W waheed awan

      i have created a data base connection but when the connection.Open() statement is executed i get the following exception " 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." what should i do ............... thanks

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

      Hi there, Just did a quick search from google...here is the one you might take a look http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=747709&SiteID=1[^] << >>

      8x Solutions Ltd

      1 Reply Last reply
      0
      • W waheed awan

        i have created a data base connection but when the connection.Open() statement is executed i get the following exception " 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." what should i do ............... thanks

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        waheed awan wrote:

        what should i do

        Set it up so you can allow remote connections. You do this by going into the Surface Area Configuration manager...

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        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