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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.06.2010, 23:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,626 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Workflow error System.ComponentModel.Win32Exception: Access is denied
Источник: http://blogs.msdn.com/b/emeadaxsuppo...is-denied.aspx
==============

During deployment of Workflow on one of environments I was able to validate Workflow URL in Basic > Setup > Settings for workflow. I was also able to access Workflow page from AOS server, but even those during job processing I got error in event viewer Microsoft Dynamics Ax Workflow:

Exception thrown in SysWorkflowEventDispatcher-onAcknowledgeWorkflowActivation SysWorkflowEventDispatcher-raiseWorkflowActivationEvent : Web service failed: workflow id 000048_201 System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.Process.get_MainModule()
at System.Workflow.Runtime.PerformanceCounterManager.SetInstanceName(String instanceName)
at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
at Microsoft.Dynamics.Framework.Workflow.AxWorkflowRuntime.get_WindowsWorkflowRuntime()
at Microsoft.Dynamics.Framework.Workflow.AxWorkflowRuntime.CreateWorkflowInstance(XmlReader workflowDefinitionReader, Guid workflowInstanceId)
at Microsoft.Dynamics.Framework.Workflow.WorkflowInstanceManager.Activate(Activity workflowRoot, Guid workflowInstanceId)
at Microsoft.Dynamics.Framework.Workflow.WorkflowInstanceManager.Activate(WorkflowActivationRequest activationInfo)
at Microsoft.Dynamics.Framework.Workflow.WebServices.AxaptaWorkflowInstance.Activate(WorkflowActivationRequest activationRequest)

It happens that error was caused by IIS Authentication settings where not only Windows authentication was Enabled but also Basic. To fix this behavior:

Steps: - Log in as a local administrator on the Windows Server 2008 R2, and run Start -> All Programs -> Administrative Tools -> Internet Information Services (IIS) Manager

- In the left-hand pane, click on Sites, and then click on MicrosoftDynamicsAXWorkflow50 web application

- From the right-pane in IIS section double click Authentication

- Make sure that Basic Authentication is disabled




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

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Workflow error. Cannot resolve Workflow originator when user language is not English Blog bot DAX Blogs 0 04.06.2010 21:06
Ошибка бизнес-процесса Tarasov E Dynamics CRM: Разработка 9 18.02.2010 14:02
emeadaxsupport: Error message “The value ‘xxx’ is not found in the map” when opening Workflow configuration Blog bot DAX Blogs 0 10.02.2010 00:07
emeadaxsupport: Unable to validate the AX 2009 Workflow Webservice URL on a Windows Server 2008 R2 x64 Blog bot DAX Blogs 0 05.01.2010 19:16
emeadaxsupport: Workflow - user abc has no access to menu item PurchReqTable Blog bot DAX Blogs 0 28.10.2009 00:06

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

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

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