peggyweber
asked on
Cannot see my SQL in ODBC after detattach and reattachment
I have a SQL 2005 database that I detattached and moved the data and log to a different folder MSSQL/DATA was the original and move it to MSSAL/DATA/BQ
When I detached and did the move then reattached the database I could not find it in my odbc as I am using MS Access 2003 to access the database. I can see the database just fine in SQL 2005 but cannot seem to find it from my System DSN when I try to setup the ODBC. How do I fix this?
When I detached and did the move then reattached the database I could not find it in my odbc as I am using MS Access 2003 to access the database. I can see the database just fine in SQL 2005 but cannot seem to find it from my System DSN when I try to setup the ODBC. How do I fix this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found out the reason, however I will reward the points to the person that give me the right answer.
Hint: MS Access need ODBC to map to SQL Server Named Database, ODBC need to see the database. Think how the ODBC can see a database. Note: has nothing to do with MS Access and the ODBC is working fine.
Hint: MS Access need ODBC to map to SQL Server Named Database, ODBC need to see the database. Think how the ODBC can see a database. Note: has nothing to do with MS Access and the ODBC is working fine.
ASKER
The Database stilled had the user defined but was lost was the user or user groups at the System level not having access to the database. When you detach a database and re-attach at least in my case the users associated with that database where no longer associated. As soon as I made the associations the ODBC with Access worked.
ASKER