yeah that thing is outdated now. Junk city.
On my own I see that maintaining a unique <project>.sln file on each dev workstation seems to work.
A database server local to a dev machine will need its own unique web.config file as well.
I tested my theories by moving a .ASP web project from one drive letter to another and it seemed to work ok, but the web.config file, despite being edited to point to a new database .MDF file (same name, different path) would not work (error message: another database by that name already exists).
I have no idea why or how, with new connection strings, the app still remembers its old connection. Why can't it just connect like I tell it to It connects to the central remote SQL server just fine, but I can't switch it to a different local .MDF even with fully qualified paths to the .MDFs.
I would be in business if I could just convince this project to forget about the old connection string that was in web.config and deal with the new one thats in there now & stop calling the database a duplicate. But, its trying too hard to be user friendly to do that.
|