Share via

SQL Server Migration Assistant for Access issue

Anonymous
2023-07-31T01:20:54+00:00

I am trying to use the above tool to migrate an Access backend database to SQL Server.

It ran fine on my PC under SQL 2017 and migrated to the correct SQL database. When I run it on my Client's Server under SQL 2022 the tool tries to create the tables in the Master database not the destination database I have selected, and then fails as I don't have permissions to create tables in the Master database.

Any clues?

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Duane Hookom 26,825 Reputation points Volunteer Moderator
2023-08-03T02:41:25+00:00

Again, check your default database.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. George Hepworth 22,855 Reputation points Volunteer Moderator
    2023-08-07T18:17:49+00:00

    It should be pretty easy to understand. SSMA needs to know where you want to create the migrated tables. If you don't tell SSMA which database to use, it's forced to pick one (or fail) and the path of least resistance for that choice is Master.

    "Oh, you didn't want Master? Well, tell me. Which database you DO want to create the tables in? If you make that one the default, I can use it, but I'm not going to keep guessing...."

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-08-03T01:55:17+00:00

    On the database on my PC and on the database on the Server I have db_owner rights.

    Was this answer helpful?

    0 comments No comments
  3. George Hepworth 22,855 Reputation points Volunteer Moderator
    2023-07-31T12:55:10+00:00

    I just wanted to comment that it's a good thing the process fails when trying to create user tables in Master....

    Was this answer helpful?

    0 comments No comments
  4. Duane Hookom 26,825 Reputation points Volunteer Moderator
    2023-07-31T01:28:06+00:00

    I assume the login running the tool has rights to the intended target database. I had this issue a decade ago and resolved it by setting the login’s default database to the target database.

    Was this answer helpful?

    0 comments No comments