how to combine both the db's into onehttp://forums.asp.net/t/1009966.aspx/1?how+to+combine+both+the+db+s+into+oneThu, 20 Jul 2006 14:32:31 -040010099661346575http://forums.asp.net/p/1009966/1346575.aspx/1?how+to+combine+both+the+db+s+into+onehow to combine both the db's into one <p><font face="Verdana" color="#000080" size="2">Hi</font></p> <p><font face="Verdana" color="#000080" size="2">I am having a pricing problem with hosting provider.[:'(]</font></p> <p><font face="Verdana" color="#000080" size="2">So i will have to combine both these db's into one ! (APNETDB andCLASSIFIEDSDB) </font></p> <p><font face="Verdana" color="#000080" size="2">can this be done.</font></p> <p><font face="Verdana" color="#000080" size="2">if so can any one tell me all teh changes which has to be done in teh web.config file and other files?</font></p> <p>&nbsp;</p> 2006-07-20T09:31:39-04:001346672http://forums.asp.net/p/1009966/1346672.aspx/1?Re+how+to+combine+both+the+db+s+into+oneRe: how to combine both the db's into one <p>You just need to run the aspnet_regsql like you did to create the aspnet db before but point it to the server/database you want to use. If you cannot run that utility I'm sure the host can.</p> <p>In your web.config change your connection strings to point to your database</p> 2006-07-20T12:07:31-04:001346854http://forums.asp.net/p/1009966/1346854.aspx/1?Re+how+to+combine+both+the+db+s+into+oneRe: how to combine both the db's into one <p>Hi,</p> <p>I have repeatedly done this on hosted databases. As the previous post suggest, run the program on your CLASSIFIELDDB.</p> <p>You will need to provide &quot;servername&quot; and &quot;login credentials&quot; obtained for your hosted CLASSIFIELDDB. This can really work.</p> <p>&nbsp;</p> <p>Your web config should then contain&nbsp;something similar to the below:</p> <p>&nbsp;</p> <font color="#0000ff" size="2"> <p>&lt;</font><font color="#800000" size="2">connectionStrings</font><font color="#0000ff" size="2">&gt;</p> <p>&lt;</font><font color="#800000" size="2">add</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">classifiedsConnection</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">connectionString</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">Data Source=dbserver&nbsp;&nbsp;;database=ClassieFieldDB; User Id=username; PWD=password</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">providerName</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">System.Data.SqlClient</font><font size="2">&quot;</font><font color="#0000ff" size="2">/&gt;</p> </font><font color="#0000ff" size="2"> <p>&lt;</font><font color="#800000" size="2">remove</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">LocalSqlServer</font><font size="2">&quot;</font><font color="#0000ff" size="2">/&gt;</p> <p>&lt;</font><font color="#800000" size="2">add</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">LocalSqlServer</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">connectionString</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">Data Source=dbserver ;database=ClassieFieldDB; User Id=username; PWD=password</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">providerName</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">System.Data.SqlClient</font><font size="2">&quot;</font><font color="#0000ff" size="2">/&gt;</p> <p>&lt;/</font><font color="#800000" size="2">connectionStrings</font><font color="#0000ff" size="2">&gt;</p> <p></p> </font> <p>&nbsp;</p> <p>Thanks</p> <p>/Kadji</p> <p>&nbsp;</p> 2006-07-20T14:27:11-04:001346862http://forums.asp.net/p/1009966/1346862.aspx/1?Re+how+to+combine+both+the+db+s+into+oneRe: how to combine both the db's into one <p>Thanks kadji</p> <p>This issue is almost resolved now as i am moving to another hosting provider</p> <p>Cheers</p> <p>Ujval</p> 2006-07-20T14:32:31-04:00