ODBC password used to save. After updating table, now I'm prompted for pw every single time.

bjensen_Afp 1 Reputation point
2021-03-17T14:55:12.11+00:00

After migrating an Access database over to SQL, I linked the tables to the Access front-end using ODBC named "DatabaseName.dsn". In SSMS, I set up a login, using all default settings, for each user that would need access. Authentication is over SQL Server, not Windows.

Then on each user's machine, I logged in with the credentials that I set up. After that first time, no one was prompted to enter the password again.

Recently, I had to remove and re-add a table from the SQL database. This change has now caused everyone to be prompted to enter their password every single time they access one page but not another.

In Access, if I hover over each linked table, I see this information:

Table linked to page that doesn't prompt for pw - ODBC;DSN=DatabaseName;UID=Me
Table linked to page that does prompt for pw - ODBC;Driver=ODBC Driver 17 for SQL Server; Server=ServerName

So what do I need to change to have DSN for each linked table?

If you need more info, I can provide it. Thanks.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,607 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Tom Phillips 17,716 Reputation points
    2021-03-17T15:23:23.813+00:00
    0 comments No comments

  2. ALI SAD 6 Reputation points
    2021-03-17T15:29:24.197+00:00

    Hi,
    should you be forced to use ODBC?

    0 comments No comments

  3. CarrinWu-MSFT 6,851 Reputation points
    2021-03-18T05:25:41.513+00:00

    Hi @bjensen_Afp ,

    Please refer to Save Password check box is unavailable when you link ODBC tables get the solution, see below:
    79042-access.png

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments