Find DB Connection String in Visual Studio 2011 Files
Posted on 2013-06-17
I wrote a program on my local machine that has a database connection to a local SQL Server and database instance.
However, when I move the program onto the client machine, it throws me a connectivity error saying it cannot connect to the database, because that set of db creds doesnt work on that new machine.
I want to simply hard-code the new server name and database creds into the program config file, because I could do that in VS 2008 in the web.config file, but in VS 2011 I cannot locate the config file that holds that information.
Does anyone know where that lives? What file? I dont have access to VS on the client system to be able to simply load it all up there and use the application to connect to the correct server and db.