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. .NET (Core and Framework)
  4. Remote SQLServer Connection in .NET

Remote SQLServer Connection in .NET

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdatabasesql-serversysadmin
5 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.
  • S Offline
    S Offline
    Sendilkumar M
    wrote on last edited by
    #1

    :) Hi I am in the need to develop a .net component that can communicate two different sql server databases. These two servers are physically different location. That .net application will be in server A and it update some data into Server B located in some other place. Can any one help me to develop database connectivity in either VB.net or C#.NET? :-O M.Sendilkumar TVS Infotech Ltd Chennai

    C 1 Reply Last reply
    0
    • S Sendilkumar M

      :) Hi I am in the need to develop a .net component that can communicate two different sql server databases. These two servers are physically different location. That .net application will be in server A and it update some data into Server B located in some other place. Can any one help me to develop database connectivity in either VB.net or C#.NET? :-O M.Sendilkumar TVS Infotech Ltd Chennai

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

      The SqlConnection object will take a connection string that gives the name of the server. All you need to do is ensure that your .NET component can see both databases. There is nothing different involved from connecting normally.


      Do you want to know more? Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

      S 1 Reply Last reply
      0
      • C Colin Angus Mackay

        The SqlConnection object will take a connection string that gives the name of the server. All you need to do is ensure that your .NET component can see both databases. There is nothing different involved from connecting normally.


        Do you want to know more? Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

        S Offline
        S Offline
        Sendilkumar M
        wrote on last edited by
        #3

        In my development two servers are in different location that means first one is in New Delhi and second one in singapore, not even in private network like VPN.My problems is how to construct a connect string either for SQLServer provider or OleDB Provider Please find something for me...! M.Sendilkumar TVS Infotech Ltd Chennai

        C 1 Reply Last reply
        0
        • S Sendilkumar M

          In my development two servers are in different location that means first one is in New Delhi and second one in singapore, not even in private network like VPN.My problems is how to construct a connect string either for SQLServer provider or OleDB Provider Please find something for me...! M.Sendilkumar TVS Infotech Ltd Chennai

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

          You need a network connection of some kind between the SQL Server and your .NET application.


          Do you want to know more? Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

          S 1 Reply Last reply
          0
          • C Colin Angus Mackay

            You need a network connection of some kind between the SQL Server and your .NET application.


            Do you want to know more? Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

            S Offline
            S Offline
            Sendilkumar M
            wrote on last edited by
            #5

            Yes we do have a VPN. M.Sendilkumar TVS Infotech Ltd Chennai

            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