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)

Setup could not connect to the database server

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am currently installing AX 2012 R2 on 1 server and connecting it to a database server when i encounter the error below.

AX-Installation.png

I tried different solution such as:

1.  Off firewall of both server

2. Check TCP/IP and Name pipes if enabled

3. Ping both server

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ajit Profile Picture
    8,788 on at

    Did you try to connect SQL server with your used credentials? Make sure you have access to that SQL instance.

  • Community Member Profile Picture
    on at

    Yes Sir, i have checked the credentials and it has the right access.

  • Suggested answer
    Nagendra Varma K Profile Picture
    on at

    Hi Mari,

    Refer here

    community.dynamics.com/.../148101

    Thanks

    Nagendra Varma K

  • Community Member Profile Picture
    on at

    Hi  Sir Nagendra i already tried  those in the link and it is still not working. it is so weird it has no effect because the server is newly formated.

  • Suggested answer
    Nagendra Varma K Profile Picture
    on at

    Hi Mari,

    Is the name you mentioned server name including domain ?, can you double check re-start both the servers disable both firewall & check the whether you can ping & than try to run .exe files also make sure your login has admin privileges.

    Thanks

    Nagendra varma K

  • Community Member Profile Picture
    on at

    Yes Sir Nagendra, i already restarted both server, my domain account is administrator,, both firewall are already off and both server connects when ping.

  • Suggested answer
    Ajit Profile Picture
    8,788 on at

    Also try to create a DSN and see if you can connect. We will figure it out if that is connectivity issue or something wrong with AX setup.

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    restart sql server browser services and check again

  • Community Member Profile Picture
    on at

    Hi Sir,

    Why only the specific database that i cant connect, some other database can connect and can be seen.

  • Suggested answer
    Maciej Krzysztofik Profile Picture
    290 on at

    Sometimes when You use named instance (verify that You used correct instance) instead of Default AOS setup cannot find the database. If You can try to use default instance, if not, please try to input the database server and database name by hand without trying to "find" it.

    Also, verify if AX database is installed on that server prior to installation of AOS. You have to first deploy the database, with everything else afterwards. Verify if Your domain user have rights to access this server and database (for test purpose i suggest giving it DBA rights).

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans