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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 11.11.2011, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Error in upgrade readiness check when upgrading to AX 2012
Источник: http://blogs.msdn.com/b/emeadaxsuppo...o-ax-2012.aspx
==============

Recently we ran into an issue where the "Check Upgrade Readiness" step in upgrading from Dynamics AX 2009 to Dynamics AX 2012 failed with the error/stack below

Error executing code: ReleaseUpdateTransformDB50_UnitOfMeasure (object) has no valid runnable code in method 'initTransformationJobs'.

(S)\Classes\ReleaseUpdateTransformDB50_UnitOfMeasure\initTransformationJobs
(C)\Classes\SysCheckListItem_CreateShadowTables\populateScripts - line 20
(C)\Classes\SysCheckListItem_CreateShadowTables\main - line 38
(C)\Classes\MenuFunction\run
(C)\Classes\SysHelp\processMenuFunction - line 85
(C)\Classes\SysHelp\processStandardLink - line 26
(C)\Classes\SysHelp\processOnEventNavigate - line 40
(C)\Classes\SysHelp\onEvent_BeforeNavigate2 - line 27
(C)\Classes\FormActiveXControl\onEvent_BeforeNavigate2


Having followed the instruction from the Microsoft Dynamics AX 2012 Upgrade Guide we had imported the UpgradeAX5.xpo from the \DatabaseUpgrade\XPO subfolder on the AX 2012 media.
The XPO contains the ReleaseUpdateTransformDB50_UnitOfMeasure class and other simular named classes used by the Upgrade Readiness Check.

In our problem scenario we imported the XPO into an AX 2009 environment where we didn't have the "X++ Source Code" License. Without this License Users are not able to Import Classes configured to Run On the Server and classes with the "RunOn" property set to "server" get imported with their RunOn property set to "called from"

As the (S) in the error message stack indicates the ReleaseUpdateTransformDB50_UnitOfMeasure class was searched for on the server. It wasn't found there as while importing the RunOn property was reverted from "server" to "called from" Resulting in the error.


Importing the UpgradeAX4.xpo in Dynamics AX 4.0 to upgrade to AX 2012 will lead to a similar issue when no X++ Source code License is available

Resolution:
-Have a X++ Source Code License when importing the UpgradeAX5.xpo in Dynamics AX 2009 or the UpgradeAX4.xpo in Dynamics AX 4.0


Workaround:
-Import the appropriate xpo on a system with X++ license and file copy the .aod file from the that server to the destination server.
Note: Make sure you have the all the customizations from the destination server on the server you use for import.



-author: Jago van der Most --editor: Jago van der Most --date: 11/Nov/2011 -last edited: 11/Nov/2011


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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
dynamics-ax: Blog Spotlight: Dynamics AX 2012 Upgrade frustrations of Alex Blog bot DAX Blogs 0 28.06.2011 06:19
dynamics-ax: Interview with Microsoft's Lachlan Cash on his new role, AX 2012 and more Blog bot DAX Blogs 6 22.04.2011 14:55
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
daxdilip: Whats New in Dynamics AX 2012 (A brief extract from the recently held Tech Conf.) Blog bot DAX Blogs 7 31.01.2011 12:35
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра
Комбинированный вид Комбинированный вид

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:13.