Workflow Microsoft dynamic CRM自定义活动问题
我正在尝试根据以下演练将服装活动添加到我的CRM服务器: 当我试图发布带有我的活动的工作流时,我得到了一个错误。追踪传单上说:Workflow Microsoft dynamic CRM自定义活动问题,workflow,dynamics-crm,Workflow,Dynamics Crm,我正在尝试根据以下演练将服装活动添加到我的CRM服务器: 当我试图发布带有我的活动的工作流时,我得到了一个错误。追踪传单上说: >MSCRM Error Report: -------------------------------------------------------------------------------------------------------- Error: Exception of type 'System.Web.HttpUnhandledExcept
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x80045001
Error Message: Workflow compilation failed:
WF363: Type QAAddActivity, Nothing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d888809fdb5a2449 is not marked as authorized in the application configuration file.
Error Details: Workflow compilation failed:
WF363: Type QAAddActivity, Nothing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d888809fdb5a2449 is not marked as authorized in the application configuration file.
Source File: Not available
Line Number: Not available
Request URL: http://192.168.2.82/Leverate/_grid/cmds/dlg_activate.aspx?iObjType=4703&iTotal=1&iIndex=0&iId={CAF35EFA-80C0-418B-A97B-06820760D777}
Stack Trace Info: [CrmException: Workflow compilation failed:
WF363: Type QAAddActivity, Nothing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d888809fdb5a2449 is not marked as authorized in the application configuration file.]
at Microsoft.Crm.ObjectModel.WorkflowServiceInternal`1.CompileWorkflow(ExecutionContext context, WorkflowEntity definition, List`1 dependencies, List`1 customActivityIds, Guid activationId)
[CrmException: Workflow compilation failed:
WF363: Type QAAddActivity, Nothing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d888809fdb5a2449 is not marked as authorized in the application configuration file.]
at Microsoft.Crm.ObjectModel.WorkflowServiceInternal`1.CompileWorkflow(ExecutionContext context, WorkflowEntity definition, List`1 dependencies, List`1 customActivityIds, Guid activationId)
at Microsoft.Crm.ObjectModel.WorkflowServiceInternal`1.CompletePublishing(WorkflowEntity definition, List`1 dependencies, List`1 customActivityIds, ExecutionContext context)
虽然我在web.config中添加了以下内容:
<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes>
<authorizedType Assembly="Nothing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d888809fdb5a2449" Namespace ="Nothing" TypeName="QAAddActivity" Authorized="True" />
帮助?我猜您的意思是“自定义工作流活动”,您的问题似乎已经在Dynamics CRM Microsoft支持论坛上得到了回答: