How to connect project to second database?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gael Zoumof
    New Member
    • Jan 2011
    • 1

    How to connect project to second database?

    Hello,

    I have two projects, each on their own server and db.
    Say Proj1, server1, db1, and Proj2, server2, db2.
    Both are working fine on there own.

    Proj1 is a big project with multiple components. I need to add a new component (only used by 2-3 people a few days each month), that has to interract with both db1 and db2.
    It's an asp.net c# web application, SQL db, using NHibernate.

    My question is: How do I add db2/server2 in the mix?
    I will need both read and wright access on db2 from Proj1

    I've seen several posts on the web, but none seem to give an answer for my problem.

    Any help or hint would be approciated.
    Thanks
Working...