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. SQL Server 2005 and vb.net >>>> Connection String

SQL Server 2005 and vb.net >>>> Connection String

Scheduled Pinned Locked Moved Database
databasesysadminhelpcsharp
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.
  • K Offline
    K Offline
    kindman_nb
    wrote on last edited by
    #1

    hi i'm using vb.net 2008 and database sql server 2005 ,, my connection string is as : Data Source=ServerName; Initial Catalog=DataBaseName ;User ID=sa;Password=1111" it's ok and works as good ,,, but when i test exe project on client pc ,, an error with the connectoin string , this problem has happend with me before with sql server 2000 and i solved by add Network=DBMSSOCN; to the connection string , but with sql server 2005 it still doesn't work ,, what's is the correct connection string to allow the client coneects the server thanks

    jooooo

    N 1 Reply Last reply
    0
    • K kindman_nb

      hi i'm using vb.net 2008 and database sql server 2005 ,, my connection string is as : Data Source=ServerName; Initial Catalog=DataBaseName ;User ID=sa;Password=1111" it's ok and works as good ,,, but when i test exe project on client pc ,, an error with the connectoin string , this problem has happend with me before with sql server 2000 and i solved by add Network=DBMSSOCN; to the connection string , but with sql server 2005 it still doesn't work ,, what's is the correct connection string to allow the client coneects the server thanks

      jooooo

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

      kindman_nb wrote:

      an error with the connectoin string ,

      What was the error ? Take a look at Connection strings[^]

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

      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