Показать сообщение отдельно
Старый 27.07.2024, 07:50   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
dynamicsaxinsight: D365: Refresh entity list batch job failing
Источник: https://dynamicsaxinsight.com/2024/0...h-job-failing/
==============

Purpose:

Recently, I encountered an error on my DEV box while I was running Refresh entity list batch job after making some changes to one of the data entities. In this post, we’ll learn how can we resolve this issue.

Application:

Dynamics 365 for Finance and Operations

Error:



Entity * not removed because it belongs to the follow definition group or template.

Change Tracking is not enabled on the database: SQL Server Change Tracking.

Error encountered while creating entity data. Please contact your administrator if this persists.

Error encountered while creating entity data. Please contact your administrator if this persists.

Solution:

To resolve the issue, we need to enable change tracking for the SQL database. Given you have access to the database as this is your development environment, you need to run the following SQL command to enable change tracking for the database.

SQL

ALTER DATABASE AxDB SET CHANGE_TRACKING = ON (CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON)


Источник: https://dynamicsaxinsight.com/2024/0...h-job-failing/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.