[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

How do I change the connection settings for an MS Access Database linking to a moved SQL Server database?

I have inherited a SQL server database which has a MS Access in a mdb file. Using Backup and Restore I have moved the SQL database across to another machine running SQL Server Express 2008. I can connect to this fine using the Microsoft SQLServer Management Studio, browse data etc.

I have copied the Access mdb file to the new machine but cannot figure out how to update the server settings for the database on the new machine it is dealing with. I can see in the tool tip that comes up when I hover over a table name that it wants to point to the old server, but can't see any properties/configuration settings detailing how to change this.
0
sunnystar
Asked:
sunnystar
  • 4
2 Solutions
 
jmoss111Commented:
the app is using linked tables; you just need to set up ODBC connections for the new machine
0
 
sunnystarAuthor Commented:
Thanks. So where in Access do I set this up? I've set the server up as an ODBC source via Windows Control Panel but can't see where to change the tables, other than the linked table manager. Then I get a screen which comes up with the server setting on the old machine, that I try to update to .\SqlExpress on the local machine and then the computer name.

 access data source error window

I'm more used to using PostgreSQL and MySQL than SQLServer/Access so sorry if I am missing something obvious.
0
 
sunnystarAuthor Commented:
Sorry that should be 'then the computer name' 'the Windows logon name' for the Server SPN.
0
 
sunnystarAuthor Commented:
OK - trying the thing I was doing above - Database Tools - Linked Table Manager - select all the tables that come up and when the error message comes up change the values seemed to work one time when it hadn't worked before. Not sure what was different. Makes you long for the good old command line.
0
 
sunnystarAuthor Commented:
Seems like there should be a neater solution then just waiting for Access to throw up an error message to change the setttings, which then doesn't work straightaway.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now