Hello all, Im trying to rename a database from which a program of mine accesses. Ive done this a numer of ways, in the SSMS interface, issueing the rename command , detaching and attaching with a new name AND changing the filename.
Everytime I rename, I can see the new name just find and I can assign that database as a default database of a user and log in with it.
HOWEVER when i move to my program with this connection string ( let us say my new database name is computer and the old name is computer_a).
this code below will NOT let me connect to the database even if it exists.
it connects fine.
I believe that something somewhere that name counter_a is still buried and I just cannot find where
Would love if someone would give me a little insight on this.
Thanks
Everytime I rename, I can see the new name just find and I can assign that database as a default database of a user and log in with it.
HOWEVER when i move to my program with this connection string ( let us say my new database name is computer and the old name is computer_a).
this code below will NOT let me connect to the database even if it exists.
<DatabasePath value="Data Source=127.0.0.1;initial catalog=computer;Integrated Security = TRUE"/>
BUT if i rename initalia catalog to computer_a and i change the name of the database from computer to computer_a.it connects fine.
I believe that something somewhere that name counter_a is still buried and I just cannot find where
Would love if someone would give me a little insight on this.
Thanks