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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.09.2015, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Form created in e.g. AX 2012 RTM or AX 2012 R2 with ManagedHost control on its design fails to open on AX 2012 R3
Источник: http://blogs.msdn.com/b/axsupport/ar...x-2012-r3.aspx
==============

Applies to AX 2012 R2 & AX 2012 R3

Consider the following scenario:

When a form is created in e.g. AX 2012 RTM or AX 2012 R2 and a ManagedHost control is added on its design,

like "Microsoft.Dynamics.AX.Framework.Client.Controls.ChartToolBar".

Then when the form is deployed on a newer AX version, e.g. AX 2012 R3 environment,

the form no longer opens but throws the following exception:

Could not load file or assembly 'Microsoft.Dynamics.AX.Framework.Client.Controls, Version=6.2.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.

(Exception from HRESULT: 0x80131040)

To resolve the above addressed issue, please do as follows:


Adding new assembly bindings into Ax32.exe.config to redirect 6.0.0.0 and 6.2.0.0 references to 6.3.0.0 assembly.

Here is what precisely you need to do:

-Shutdown your AX client

-Find the “Ax32.exe.config” file under your Client\Bin directory, normally under

“C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin”

-Edit the file in Notepad and add the following assembly binding (Highlighted in yellow).

-Save the file, but please make sure to keep it in the original format

-Start AX client and try your scenario



The Ax32.exe.config file content will look like the following after the changes:







   

       

       

   

   

       

           

         

               

               

           

           

               

               

           

       

   










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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Sending email notifications for Retail orders [AX 2012 R2 and R3] Blog bot DAX Blogs 0 17.03.2015 00:11
emeadaxsupport: AX 2012 R2-R3 - Creating a new Retail product and syncing this to an existing Online Store Blog bot DAX Blogs 0 13.11.2014 05:27
axsa: MDM Adapter - Extending Dynamics AX 2012 R3 Master Data Management Blog bot DAX Blogs 0 22.05.2014 03:28
Axilicious:Hosting custom WPF calendar control in AX 2012 Blog bot DAX Blogs 0 20.05.2013 18:11
emeadaxsupport: AX for Retail 2012 R2: Installing the Real-time Service Blog bot DAX Blogs 0 19.12.2012 11:11
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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