Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

DataMart rebuild: Unable to connect to the database server

Posted on by 1,433

Don't know if there is still a AX 2012 forum, so I'm posting here.

We still have one of our sub-companies on AX 2012 R3, will move them over to D365FO later this year.

I need to rebuild the dataMart for it.  However I get an error that it cannot connect to the database server.

I'm using the following link as a guide: https://stoneridgesoftware.com/management-reporter-2012-reset-data-mart-for-dynamics-ax/

The user I'm using is an SA user (not the default 'sa', but a dedicated service account) on the SQL server with windows authentication. If I look in SSMS on the SQL-server, the server roles of this user are: public and svsadmin.

Inside the AX DB this user does exist, imported from Active Directory, with roles Security Administrator and System administrator.

So it looks like all the permissions are fine.

I'm using the default ports that the MR 2012 configuration console (version 2.12.13002.1) comes up with under File > Configure.

AOS services port: 8201

AOS port: 2712

Here is a snapshot of the deployment log. I have removed the user name and DB names and company names etc, but it should still be clear enough.

1778.ConfigureLog.jpg

The Management reporter is on one server, the AOS on another and the SQL on another. The user account I'm using has access to all 3 of these on premise servers.

Can anybody tell me what the problem is? It looks to me that it can connect to the SQL server. Thanks for any help.

*This post is locked for comments

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: DataMart rebuild: Unable to connect to the database server

    AX forum exists, I moved this question there.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans