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)
Answered

Error in configuring management reporter

(0) ShareShare
ReportReport
Posted on by

When configuring management reporter I am getting error as :

 An error occurred while configuring SQL change tracking. Check your deployment log for details.
Cannot enable change tracking on table 'RetailTerminalTable'. Change tracking requires a primary key on the table. Create a primary key on the table before enabling change tracking.

MR-error.png

I have tried these two solutions.

1. https://community.dynamics.com/ax/b/axfaqblog/archive/2015/02/08/management-reporter-on-r3-no-cu-install-error-fix

2. https://community.dynamics.com/ax/f/33/t/123409

But still I am getting same error.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    I have tried changing  "changetracking" property in sql sever 2012 but its giving error as

    TITLE: Microsoft SQL Server Management Studio

    Alter failed for Table 'dbo.RETAILTERMINALTABLE'.  (Microsoft.SqlServer.Smo)

    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

    Cannot enable change tracking on table 'RETAILTERMINALTABLE'. Change tracking requires a primary key on the table. Create a primary key on the table before enabling change tracking. (Microsoft SQL Server, Error: 4997)

  • Verified answer
    Community Member Profile Picture
    on at

    It got resolved and Data mart got configured successfully.

    What I did is:

    1. Enabled license for retail and retail headquarters .

    2. Changed the primaryindex - recId in RetailTerminalTable.

    3. Synchronise database. 

  • Community Member Profile Picture
    on at

    how to fix this error 4997 ???

  • Community Member Profile Picture
    on at

    how to do this :

    Enabled license for retail and retail headquarters .

    2. Changed the primaryindex - recId in RetailTerminalTable.

    3. Synchronise database.

    ????

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 April 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