Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Copying database - doing update changes both dbs.

$
0
0

Hi,

I have made a copy of a database to use for dev.  I used the wizzard in SQL Server 2008 to create a copy.  I've checked the stored procs and they all point to my dev copy.  I've changed the connection string in web.config to point to this copy.  I've changed all references in my website to point to my dev copy.  I've reopened ASP.NET Development Server, I've rebuilt my website and ran it in Debug.

Each time I do, it's updating the original db as well as my dev copy.

There are no references that I can find, either in my code or stored procedures, to the original db and yet it mirrors what changes are being made to my dev copy.  I've made changes in web.config and code like the examples below.

<add name="myConnectionString" connectionString="Data Source=dev;Initial Catalog=myDEV;Integrated Security=True" providerName="System.Data.SqlClient"/><!--<add name="liveConnectionString" connectionString="Data Source=dev;Initial Catalog=live;Integrated Security=True" providerName="System.Data.SqlClient"/>-->
using (SqlConnection connIncident_TrackerDB = new SqlConnection(@"Data Source=dev;Initial Catalog=myDEV;Integrated Security=True"))
        {


What am I missing?

Paul 


thanks, Paul




Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>