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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 24.02.2014, 13:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
A year after Microsoft Dynamics NAV 2013 released, we released a new version of it, Microsoft Dynamics NAV 2013 R2. They share common files, so if you install both versions on the same computer, then they will try to use the same resources, and so you run into problems. This really means that you cannot install the two versions side-by-side.

We resolved this issue with the fix in KB 2907588 for Microsoft Dynamics NAV 2013 R2 (build number higher than 35850). But there is some manual work that you have to do to apply the fix fully.
Microsoft Dynamics NAV 2013 and Microsoft Dynamics NAV 2013 R2 use the same Windows registry entries to describe which interface and libraries to use. With the described fix, Microsoft Dynamics NAV 2013 R2 can use new registry entries, but simply installing the hotfix does not generate the registry entries. Windows registry settings are created by installation programs, but creating a new installer for every language is out of scope for hotfix releases.

To get Microsoft Dynamics NAV 2013 and Microsoft Dynamics NAV 2013 R2 working side-by-side, you can choose to modify some of the existing entries in the Windows registry. But the easiest way is to delete the existing registry entries and create new entries in the registry.

Depending on the specific machine architecture, your registry settings can include the following entries:
" HKEY_CLASSES_ROOTTypeLib{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}7.1"
" HKEY_CLASSES_ROOTInterface{14519985-4959-4F7C-AC30-CBBCD9DFBC08}"
" HKEY_CLASSES_ROOT Interface{59521B62-D441-47E6-8224-A07203686BA2}"
" HKEY_CLASSES_ROOT Wow6432NodeTypeLib{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}7.1"
" HKEY_CLASSES_ROOT Wow6432NodeInterface{14519985-4959-4F7C-AC30-CBBCD9DFBC08}"
" HKEY_CLASSES_ROOT Wow6432NodeInterface{59521B62-D441-47E6-8224-A07203686BA2}"

Remove the entries.

To create new correct windows registry entries, open the Command Prompt as an administrator, and then, run the RegAsm.exe /register Microsoft.Dynamics.Nav.Client.WinForms.dll /tlb command for each of the two products.

For example, for Microsoft Dynamics NAV 2013, enter the following command:

C:WindowsMicrosoft.NETFrameworkv4.0.30319RegAsm.exe /register "C:Program Files (x86)Microsoft Dynamics NAV70RoleTailored ClientMicrosoft.Dynamics.Nav.Client.WinForms.dll" /tlb

And for Microsoft Dynamics NAV 2013 R2, enter the following command:
C:WindowsMicrosoft.NETFrameworkv4.0.30319RegAsm.exe /register "C:Program Files (x86)Microsoft Dynamics NAV71RoleTailored ClientMicrosoft.Dynamics.Nav.Client.WinForms.dll" /tlb

When you have run those two commands on a 32-bit computer, the following entries exist in the registry:

Microsoft Dynamics NAV 2013:
HKEY_CLASSES_ROOTInterface{14519985-4959-4F7C-AC30-CBBCD9DFBC08} (where TypeLibVersion == 7.0)
HKEY_CLASSES_ROOTTypeLib{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}7.0

Microsoft Dynamics NAV 2013 R2:
HKEY_CLASSES_ROOTInterface{59521B62-D441-47E6-8224-A07203686BA2} (where TypeLibVersion == 7.1)
HKEY_CLASSES_ROOTTypeLib{95819FD3-CF0A-4706-BE93-35B3DDCB817C}7.1

And for 64-bits computers:
Microsoft Dynamics NAV 2013:
HKEY_CLASSES_ROOTInterface{14519985-4959-4F7C-AC30-CBBCD9DFBC08} (where TypeLibVersion == 7.0)
HKEY_CLASSES_ROOTWow6432NodeInterface{14519985-4959-4F7C-AC30-CBBCD9DFBC08} (where TypeLibVersion == 7.0)
HKEY_CLASSES_ROOTTypeLib{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}7.0
HKEY_CLASSES_ROOTWow6432NodeTypeLib{5020AC1E-A4F0-402B-A920-3FED4E3B05CC}7.0

Microsoft Dynamics NAV 2013 R2:
HKEY_CLASSES_ROOTInterface{59521B62-D441-47E6-8224-A07203686BA2}(where TypeLibVersion == 7.1)
HKEY_CLASSES_ROOTWow6432NodeInterface{59521B62-D441-47E6-8224-A07203686BA2}(where TypeLibVersion == 7.1)
HKEY_CLASSES_ROOTTypeLib{95819FD3-CF0A-4706-BE93-35B3DDCB817C}7.1
HKEY_CLASSES_ROOTWow6432NodeTypeLib{95819FD3-CF0A-4706-BE93-35B3DDCB817C}7.1

If you have applied everything correctly, then Microsoft Dynamics NAV 2013 and Microsoft Dynamics NAV 2013 R2 will now both be able to run on the computer.

Attached is PowerShell script does all job.
BTW: If Microsoft Dynamics NAV 2013 R2 is installed alone, you can also use script - it will fix registries.



Best regards,

Gedas Busniauskas and Jorge Alberto Torres from the Dynamics NAV team



Источник: http://feedproxy.google.com/~r/Micro...-nav-2013.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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