Posted on: 4/13/2014 12:33:14 PM | Views : 450

I made a website and i am in the state of publishing it
I used the REG-SQl wizard to create authorization realated tables in my remote database.
However when i run my program, it is still accessing my local ASPNETDB.MDF database.
How can it be changed.
MY app.config code looks like this. 
<?xml version="1.0"?> <configuration> <connectionStrings> <add name="mashareqdbConnectionString" connectionString="Data Source=USER-PC\SQLEXPRESS;Initial Catalog=mashareqdb;Integrated Security=True" providerName="System.Data.SqlClient" /> <add name="mashareqdbConnectionString2" connectionString="Data Source=USER-PC\SQLEXPRESS;Initial Catalog=mashareqdb;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="conne ...

Go to the complete details ...