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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.12.2009, 02:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,494 / 847 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Workflow error messages “Invalid message sequence”
Источник: http://blogs.msdn.com/emeadaxsupport...-sequence.aspx
==============



We often get following error messages concerning workflow:



Dynamics Adapter CallStaticClassMethod failed.
SysWorkflowEventService-onAcknowledgeWorkItem Invalid message sequence - missing Activation message.
Microsoft.Dynamics.BusinessConnectorNet.XppException
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.CallStaticClassMethod(String className, String methodName, Object[] paramList)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.CallStaticClassMethod(String className, String methodName, Object param1, Object param2)
 
When these occur, none of the workflow items are processed anymore. In Basic –> Inquiries –> Workflow history you can see that all workflow items has status “Pending”

Usually error SysWorkflowEventService-onAcknowledgeWorkItem Invalid message sequence - missing Activation message can mean two problems:

1. Business Connector connect to different AOS.

2. In Workflow configuration you did not create messages in user language.

To resolve first problem:
1. Go to Microsoft Dynamics AX 2009 Configuration

2. Change “configuration target” to “Business Connector (non-interactive use only)”

3. Check on connection tab if there is correct AOS mentioned

By default Workflow during connection to AOS is using active Dynamics AX BC.NET configuration.

To be able to set up different configuration in web.config you need to apply kernel hotfix and follow instruction given in KB 960801: https://mbs.microsoft.com/knowledgeb...&wa=wsignin1.0

If you have hotfix KB 960801 installed and BC.NET still is connecting to wrong AOS please double check in GAC (usually C:\windows\assembly) if library Microsoft.Dynamics.Framework.BusinessConnector.dll and the Microsoft.Dynamics.Framework.Communications.dll has version higher than 5.0.1500.144 for DAX 2009 SP1 and 5.0.593.262 for DAX 2009 RTM

To resolve second problem make sure that you have instructions set up in user language in workflow configuration



Источник: http://blogs.msdn.com/emeadaxsupport...-sequence.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Теги
ax2009, workflow

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Workflow - user abc has no access to menu item PurchReqTable Blog bot DAX Blogs 0 28.10.2009 00:06
emeadaxsupport: You get the following warning message in BizTalk Server 2006 R2/2009 - The message does not contain a body part Blog bot DAX Blogs 0 18.09.2009 03:13
emeadaxsupport: How to set the number sequence for Global Address Book when virtual companies are used Blog bot DAX Blogs 0 24.08.2009 14:05
Solutions Monkey: Using Microsoft Dynamics Ax 2009 Workflow controls in EP Blog bot DAX Blogs 0 30.07.2008 10:05
Arijit Basu: AX 2009 Workflows: A Quick overview Blog bot DAX Blogs 0 19.06.2008 02:07

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

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

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