web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

The database dbname is not accessible. (ObjectExplorer)

(0) ShareShare
ReportReport
Posted on by 36

Hi,

I did the AOS restart. It is not starting. I noticed that the database is not accessible.

When i click the database in the SQL server management studio, i am getting the error message "The database dbname is not accessible. (ObjectExplorer)"

Thanks,

Hari

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    Check if you and the AOS Service Account have the proper rights on AX Databases.

    Go through the Installation guide in order to verify the proper rights

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    I also suspect the same permission issue.

    same system admin (ax admin) has been locked out. seems your default database has been set to one, for which user does not have permissions.,

    you may kindly try to login on SSMS using sa and perform a checklist given innext url

    msdn.microsoft.com/.../dd207004%28v=sql.110%29.aspx

  • Hariharans87 Profile Picture
    36 on at

    Hi Denis,

    Could you please tell me that AOS service account should have the sysadmin rights for AX database?

    Thanks,

    Hari

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    From the Installation Guide :

    Make the account a login on the database server. (This login already exists if you are installing on the same SQL Server computer as the first database.)

    b. Assign the user to the db_ddladmin, db_datareader, and db_datawriter database roles.

    c. Grant the user execute rights on the createserversessions and createusersessions stored

    procedures

  • Iulian Cordobin Profile Picture
    8,201 on at

    Is the database by any chance showing (Recovering...) in SSMS?

  • Hariharans87 Profile Picture
    36 on at

    Yes. I noticed that it is displayed as dbname (in recovery) in the SSMS.

  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    Well, one thing that this can mean is that the SQL server was also restarted and it's just bringing the database up. Now, if everything is ok, you should be able to use it shortly (depending on how big it is). I would suggest wait some time and then do a refresh in SSMS and see if it's still in Recovery. If it's not, you're good to go. If still, you need to look further more into possible reasons.

  • Verified answer
    Brian Kinser Profile Picture
    815 on at

    Also make sure that on the SQL instance you have added yourself AND the AXSysAccount (the account the AOS runs under)......you may not have physical access to that db, especially if someone ran the install under admin login and now you are logging in as yourself.....get someone to add under permissions in SQL db

  • Hariharans87 Profile Picture
    36 on at

    Hi Ilulian,

    The SQL server was not restarted.

    Could you please let me know in which case the AX database is going to recovery mode?

    Thanks,

    Hari

  • Hariharans87 Profile Picture
    36 on at

    Hi Brain,

    Sorry. I could not understand your point. Could you please explain clearly?

    Thanks,

    Hari

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans