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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.08.2015, 02:22   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Dynamics AX R3 CU9 Demo Image: a different "The price cannot be calculated for the item” error in EPOS
Источник: http://blogs.msdn.com/b/axsupport/ar...r-in-epos.aspx
==============

I previously wrote about this tricky error that that cropped up in the Dynamics AX R3 CU8 demo image. That problem was due to the CRT configuration section missing from the default POS.exe.config file and I gave a pretty simple workaround.

We recently had the same error in the CU9 version of the demo image that was recently released, but the root cause is quite different.

The symptoms are the same: you can log into EPOS with no problems, everything works until you add an item to the transaction and then you get this error: “The price cannot be calculated for the item. Please manually enter the correct price.”

This problem is caused by a late post-CU9 hotfix that was applied to the demo image. This was a hotfix to address a bug in a common MPOS scenario and it was applied to all of the Retail components using the standard AX updater.

However, the online store that is also on the same machine was not redeployed. This redeployment is the only process that updates certain DLLs in the Global Assembly Cache (GAC). Since this was not done, the DLLs in the GAC are still the original CU9 versions.

This would normally not be a problem because EPOS doesn’t use the GAC. However, if certain DLLs are in the GAC, EPOS will try to use them. This causes a DLL mismatch and the pricing engine immediately fails when it is called.

In a typical environment, EPOS would never be installed on the same machine as the online store so this really is an “edge case” arising from the all-in-one demo image that we provide.

Workaround Instructions:

We are working on correcting this for future a future version of the demo image. However, if you don’t want to wait for that version or if you’ve already deployed a demo image, you can utilize this workaround.

This simple workaround is to manually register certain AX for Retail DLLs into the GAC. Here are the specific instructions.

  1. Download the attached file and extract it to a temporary folder on your image.
  2. Launch an elevated Powershell console in the same folder.
  3. Execute the script: .\GacRetailDLLs.ps1
You should get a bunch of “Assembly successfully added to the cache” messages. The next time you launch EPOS the pricing engine should now work.



Note: We haven’t done a full end-to-end test on the Online Store after GAC’ing the DLLs. If you’re using the image for testing of the Online Store you will want to validate that things still work properly.




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX Performance Troubleshooting Checklist Part 2 Blog bot DAX Blogs 0 09.09.2014 16:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 17 Blog bot Dynamics CRM: Blogs 0 10.05.2014 06:30
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 16 Blog bot Dynamics CRM: Blogs 0 23.01.2014 03:15
emeadaxsupport: Dynamics AX 2009 for Retail - Setting up a customer membership discount and how the discount fields correlate to the final price. Blog bot DAX Blogs 0 08.01.2013 04:25
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02

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

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

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