View Single Post
  #5 (permalink)  
Old November 26th, 2008, 01:52 PM
melania melania is offline
Authorized User
Join Date: Oct 2008
Location: , , .
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post

Hi Imar,
Related to this question, in my pruduction server, I will be allowed only 1 databse. My development version at the moment, I have 2 database, "MyAppDatabase" and "ASPNETDB".
My question is how can I configure so all the tables inside ASPNETDB will be created inside MyAppDatabse.

The "ConnectionString" on my web.config, look something like this:

        <add name="DBConnection" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=MyAppDatabase;User Id=TEST; password=TEST" providerName="System.Data.SqlClient"/>
     <add name="LocalSqlServer" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=ASPNETDB;User Id=TEST; password=TEST" providerName="System.Data.SqlClient" />

I know I have to change thiis ConnectionStrings, I just don't know what to be changed.

Thanks Imar:)


Reply With Quote