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. problem in connecting with Sql server express 2005 provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

problem in connecting with Sql server express 2005 provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpdatabasesql-serveralgorithms
3 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.
  • N Offline
    N Offline
    Nitin1981
    wrote on last edited by
    #1

    Hi I'm using Visual web developer 2005 with Sql server express 2005 edition. I'm not able to connect to Sql server express 2005 although I'm able to connect to the same using oSql command line utility. I get the following error using the Visual web developer.

    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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    I tried searching on the Ineternet for the same and applied with different combinations but problem persists. Please advise Thanks in advance!

    Don't Quit

    N 1 Reply Last reply
    0
    • N Nitin1981

      Hi I'm using Visual web developer 2005 with Sql server express 2005 edition. I'm not able to connect to Sql server express 2005 although I'm able to connect to the same using oSql command line utility. I get the following error using the Visual web developer.

      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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

      I tried searching on the Ineternet for the same and applied with different combinations but problem persists. Please advise Thanks in advance!

      Don't Quit

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      If you have enabled remote connections, this is probably firewall which is blocking the connections.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      N 1 Reply Last reply
      0
      • N N a v a n e e t h

        If you have enabled remote connections, this is probably firewall which is blocking the connections.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        N Offline
        N Offline
        Nitin1981
        wrote on last edited by
        #3

        N a v a n e e t h wrote:

        If you have enabled remote connections, this is probably firewall which is blocking the connections.

        Hi, Firstly both visual web dev and Sql server express 2005 are on same system. Secondly Firewall is turned off. Any clues????? :zzz: Thanks

        Don't Quit

        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