Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Sir,

I have a project which is running well. Now, I have to do another project, but only some content change. The content is stored in SQL Server 2008 Database.

So I did a copy paste of my project folder, renamed the database, and I changed my content. I thought that it would be sufficient, but no. When I run the project, I still have the old content, like if I had a link to the other project database was secretly hiding somewhere.

What are the steps to follow when you duplicate a project and change the database name? It might be an easy question, but not for me .

Thank You

Anil Banjare
Posted
Comments
Member 3567411 29-Mar-12 5:47am    
Hi Sir,

I am doing the same thing but steel it is taking old path of connection string.

Thank You

1 solution

Changing the name of Database in web config file is Sufficient for connectivity of your project with new database if u didn't made any major changes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900