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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 19.04.2013, 20:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,584 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX 2012 R2 In-Place Upgrade – Sometimes during the Data Upgrade Checklist the Detect Update Scripts step does not prepare any scripts to run.
Источник: http://blogs.msdn.com/b/axsupport/ar...ts-to-run.aspx
==============

The “Detect update scripts (Required)” is the first part of the Data upgrade section in the checklist.



If you get the following warning “Data Upgrade mode had already been initialized. If additional updates have been installed complete the data upgrade process for the previously installed updated before restarting the process for any additional updated” the when you for the first time click on the “Detect update scripts (Required)” step in the Data Upgrade Checklist, you will have problems as the required data upgrade scripts are not prepared.



Typically you will not see the “Presynchronize (required)” task, as shown below:



Please note that this is only an issue, if this is the first time you run this step; the warning message is a normal message for when you have already completed the data upgrade.

This problem has been seen a couple of times, and it was due to some historical data remaining in the ReleaseUpdate* tables from a restarted or incomplete AX 4.0/2009 to AX 2012 RTM upgrade. For some reason, even though some upgrades had appeared to be successfully updated to AX 2012, there was some old data remaining.

If you have this problem you can check for old data in SQL, by using the following scripts:
SELECT COUNT(*) FROM RELEASEUPDATEBULKCOPYFIELD_GLS;

SELECT COUNT(*) FROM RELEASEUPDATEBULKCOPYFIELDERRORS;

SELECT COUNT(*) FROM RELEASEUPDATEDISCOVERYSTATUS;

SELECT COUNT(*) FROM RELEASEUPDATEJOBSTATUS;

SELECT COUNT(*) FROM RELEASEUPDATEMINORSCRIPTS;

SELECT COUNT(*) FROM RELEASEUPDATESCRIPTDEPENDENCY;

SELECT COUNT(*) FROM RELEASEUPDATESCRIPTS;

SELECT COUNT(*) FROM RELEASEUPDATESCRIPTSUSEDTABLES;

If you find that there is old AX 2012 RTM upgrade records in the tables above from a previous upgrade, you can delete the records with the following steps:

1) Close the AX 2012 R2 Client

2) Stop the AOS Server

3) As with best practice, make a backup of the database as you are going to delete data.

4) Run the following SQL Script:
TRUNCATE TABLE RELEASEUPDATEBULKCOPYFIELD_GLS;

TRUNCATE TABLE RELEASEUPDATEBULKCOPYFIELDERRORS;

TRUNCATE TABLE RELEASEUPDATEDISCOVERYSTATUS;

TRUNCATE TABLE RELEASEUPDATEJOBSTATUS;

TRUNCATE TABLE RELEASEUPDATEMINORSCRIPTS;

TRUNCATE TABLE RELEASEUPDATESCRIPTDEPENDENCY;

TRUNCATE TABLE RELEASEUPDATESCRIPTS;

TRUNCATE TABLE RELEASEUPDATESCRIPTSUSEDTABLES;

5) Start the AOS and Client

6) Rerun the step “Detect update scripts (Required)” from the Data Upgrade checklist.

 

Disclaimer: Please ensure you have full backups of databases and files before making any changes as detailed in the steps above.




Источник: http://blogs.msdn.com/b/axsupport/ar...ts-to-run.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axaptacorner: Upgrade from Ax 2012 to AX 2012 R2 Blog bot DAX Blogs 0 18.01.2013 20:11
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02
emeadaxsupport: Preliminary Microsoft Dynamics AX 2012 R2 content now on TechNet and MSDN! Blog bot DAX Blogs 0 10.11.2012 08:20
ax-erp: Walkthrough: Creating a Report Bound to a Report Data Provider Class (X++ Business Logic) [AX 2012] Blog bot DAX Blogs 0 20.09.2012 11: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, время: 19:39.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.