AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.04.2015, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
axStart: Violation of PRIMARY KEY constraint ‘PK_ModelElementData_ElementHandle’ with AX 2012R2 CU8
Источник: http://www.axstart.com/violation-of-...ax-2012r2-cu8/
==============

Last week, I was upgrading AX 2012 R2 CU7 to CU8 and ran into a model store error. The error was similar to http://blogs.msdn.com/b/axsupport/ar...x-2012-r2.aspx

It scared the hell out of me! First thing that came to mind was: is my model store corrupt in production?

But the source of the problem was indeed different; found out that the issue was label files.

In the AX 2012 R2 CU7, the DMF labels were missing, so this was fixed by adding them manually (see picture below)



This means that my AX2012 R2CU7 model store was consistent.

Label files cannot be deleted directly from the AOT. In such cases, the following workaround is necessary:
  1. Create a new model
  2. Move the labels to this new model
  3. Finally, delete this model

Источник: http://www.axstart.com/violation-of-...ax-2012r2-cu8/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Violation of PRIMARY KEY constraint 'PK_ModelElementData_ElementHandle' error installing some hotfixes on Microsoft Dynamics AX 2012 R2 Blog bot DAX Blogs 0 08.01.2014 22:13
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
ax-erp: Choosing a Primary Key: Natural or Surrogate? Blog bot DAX Blogs 0 18.12.2012 02:11
emeadaxsupport: Dynamics AX 2009 Retail: Violation of PRIMARY KEY constraint while replicating an A-job Blog bot DAX Blogs 0 09.02.2012 17:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 13:00.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.