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

Posted on 2011-10-06
Last Modified: 2012-05-12
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.
Question by:sunnystar
    LVL 18

    Accepted Solution

    the app is using linked tables; you just need to set up ODBC connections for the new machine

    Assisted Solution

    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.

    Author Comment

    Sorry that should be 'then the computer name' 'the Windows logon name' for the Server SPN.

    Author Comment

    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.

    Author Closing Comment

    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.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
    Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now