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. General Programming
  3. C#
  4. sql connection error

sql connection error

Scheduled Pinned Locked Moved C#
databasesysadmincsharpsql-serverhelp
4 Posts 4 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.
  • Y Offline
    Y Offline
    Yathish hatter
    wrote on last edited by
    #1

    Can any body let me know how to create connectivity between two/three systems actualy we developed dotnet application and database is sql server 2000 if try to connect its displaying following 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: SQL Network Interfaces, error: 25 - Connection string is not valid)"

    K L 2 Replies Last reply
    0
    • Y Yathish hatter

      Can any body let me know how to create connectivity between two/three systems actualy we developed dotnet application and database is sql server 2000 if try to connect its displaying following 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: SQL Network Interfaces, error: 25 - Connection string is not valid)"

      K Offline
      K Offline
      KIDYA
      wrote on last edited by
      #2

      Check ur connection string.which authentication u r using for SQL SERVER.if ur using local then just change old connection string with ur workign SQL SERVER.

      C 1 Reply Last reply
      0
      • Y Yathish hatter

        Can any body let me know how to create connectivity between two/three systems actualy we developed dotnet application and database is sql server 2000 if try to connect its displaying following 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: SQL Network Interfaces, error: 25 - Connection string is not valid)"

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        this site[^] is the haven for connection strings. Yours needs work.

        Check out the CodeProject forum Guidelines[^]

        1 Reply Last reply
        0
        • K KIDYA

          Check ur connection string.which authentication u r using for SQL SERVER.if ur using local then just change old connection string with ur workign SQL SERVER.

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          KIDYA wrote:

          Check ur connection string.which authentication u r using for SQL SERVER.

          The error message indicates that the issue is with establishing a connection, not with authenticating a connection.

          Man who stand on hill with mouth open wait long time for roast duck to drop in

          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