Working with two databases for single applicationhttp://forums.asp.net/t/1805885.aspx/1?Working+with+two+databases+for+single+applicationWed, 23 May 2012 08:13:18 -040018058854990184http://forums.asp.net/p/1805885/4990184.aspx/1?Working+with+two+databases+for+single+applicationWorking with two databases for single application <p>Hi...I wanted my application to work with two databases stored in different location. How to make it work? And what all changes need to be made in the Code? I m using ASP.NET 1.1</p> 2012-05-21T12:10:39-04:004990204http://forums.asp.net/p/1805885/4990204.aspx/1?Re+Working+with+two+databases+for+single+applicationRe: Working with two databases for single application <p>If by two databases you are working with two seperate database that contain unique data and structure then...</p> <p style="padding-left:30px">You need to add your second database connection string to your config. You will need to change your data access layer to reference the appropriate connection string depending on the database that is required.</p> <p>If you mean two databases acting as replicas then...</p> <p style="padding-left:30px">Set up mirroring between the two databases and add 'Failover Partner=&lt;secondserver&gt;' to your connection string</p> <p style="padding-left:30px">&nbsp;</p> <p style="padding-left:30px">&nbsp;</p> 2012-05-21T12:16:27-04:004990228http://forums.asp.net/p/1805885/4990228.aspx/1?Re+Working+with+two+databases+for+single+applicationRe: Working with two databases for single application <p>may we know whats is problem your are facing is it different sources meaning Sql Server and Oracle ?</p> <p>then using Microsoft Enterprise Library for Data Access will help</p> 2012-05-21T12:24:48-04:004993367http://forums.asp.net/p/1805885/4993367.aspx/1?Re+Working+with+two+databases+for+single+applicationRe: Working with two databases for single application <p>HI</p> <p>Please provide us more details.</p> <p>As <a title="kidshaw" href="http://forums.asp.net/members/kidshaw.aspx">kidshaw</a>&nbsp;said, different situation have different solution.</p> <p>So please tell use what are your trying to do.</p> <p>Thanks</p> 2012-05-23T08:13:18-04:00