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. Remote Server(DB) conn from local DB

Remote Server(DB) conn from local DB

Scheduled Pinned Locked Moved Database
databasecsharpsql-serversysadminhelp
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.
  • R Offline
    R Offline
    ravi11038
    wrote on last edited by
    #1

    I have created one Ssis pkg in my local DB.I am connecting to the the remote server by using C# code in this Ssis pkg.But some cases(machines) it's giving error(user-component failure).So i need to conn remote DB and i have to execute Stored procedure in that DB. Can anyone give me suggestions to conn remote DB from local DB(machine) or Anyone known about this error?

    J 1 Reply Last reply
    0
    • R ravi11038

      I have created one Ssis pkg in my local DB.I am connecting to the the remote server by using C# code in this Ssis pkg.But some cases(machines) it's giving error(user-component failure).So i need to conn remote DB and i have to execute Stored procedure in that DB. Can anyone give me suggestions to conn remote DB from local DB(machine) or Anyone known about this error?

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      ravi11038 wrote:

      I have created one Ssis pkg in my local DB

      You are using SSIS.

      ravi11038 wrote:

      I am connecting to the the remote server by using C# code in this Ssis pkg

      And SSIS is using C# code. And the C# code is handling the connection.

      ravi11038 wrote:

      But some cases(machines) it's giving error(user-component failure).

      So? The solution is obviously to figure out what the connection

      ravi11038 wrote:

      So i need to conn remote DB and i have to execute Stored procedure in that DB.

      A stored procedure on a remote machine will not fix a connection problem to the remote machine. Now perhaps you want to create a stored procedure on the local machine and it will connect to the remote machine. But that is just moving the connection problem from one place to another and is unlikely to solve the problem if you do not figure out what is actually causing the connection failure.

      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