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. connecting to remote sql server

connecting to remote sql server

Scheduled Pinned Locked Moved Database
databasesysadmincsharpasp-netsql-server
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
    kadkir
    wrote on last edited by
    #1

    when I am trying to connect to remotely located sqlserver-2000 from asp.net (VS 2005) I am getting error msg "login failed to user XXXX". I am using the following connection string

       connectionString="Data Source=ip;Network Library=DBMSSOCN
    

    ;Initial Catalog=dbname;Persist Security Info=False;User ID=user;Password=Xyz"
    providerName="System.Data.SqlClient">

    Where am I going wrong ? our db server is located in 3rd party system. where we don't have any direct access to it to do any settings. what can I ask them to do? Thank U all, kiranmayi

    R 1 Reply Last reply
    0
    • K kadkir

      when I am trying to connect to remotely located sqlserver-2000 from asp.net (VS 2005) I am getting error msg "login failed to user XXXX". I am using the following connection string

         connectionString="Data Source=ip;Network Library=DBMSSOCN
      

      ;Initial Catalog=dbname;Persist Security Info=False;User ID=user;Password=Xyz"
      providerName="System.Data.SqlClient">

      Where am I going wrong ? our db server is located in 3rd party system. where we don't have any direct access to it to do any settings. what can I ask them to do? Thank U all, kiranmayi

      R Offline
      R Offline
      rrrriiizz
      wrote on last edited by
      #2

      ask the third party admin to thier sql server default username and password, Use that username and password in your conection string, it will definately work

      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