English 中文(简体)
份额点 设计人说:“服务器上的工作流程行动清单是指不存在的组件”。
原标题:Sharepoint Designer says: "The list of workflow actions on the server references an assembly that does not exist"

I successfully deploy my custom Action to the list of Actions available for use in my SharePoint Designer, but when opening an existing workflow, or creating a new one in the Designer, I get the message (and of course my custom action is not on the list of actions)

The list of workflow actions on the server references an assembly that does not exist. Some actions will not be available. The assembly strong name is {Actual Assembly strong name}. Contact your server administrator for more information.

我检查了大会的强国名称、全球大会的Cache、一揽子选择、文件、网络。 一切似乎都是ok。 任何新想法?

最佳回答

我假设习俗行动是农场部署活动,继承系统的工作流程。 活动(可能采用次等常识法,但确实是 t)

我猜测,你 t立了必要的行动卷宗,这些档案已部署到TEMPLATE1033 工作流程中。

<?xml version="1.0" encoding="utf-8" ?>
<WorkflowInfo>
  <Actions Sequential="then" Parallel="and">
    <Action Name="Description for SP Designer"
            Assembly="$SharePoint.Project.AssemblyFullName$"
            ClassName="AssemblyName.ClassName"
            AppliesTo="all"
            Category="SPD category"
            UsesCurrentItem="true"
            >
      <RuleDesigner Sentence="Line as it appears in SPD workflow" />
      <Parameters>
        <Parameter Name="__ActivationProperties" Type="Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties, Microsoft.SharePoint" Direction="In" />
      </Parameters>
    </Action>
  </Actions>
</WorkflowInfo>

人民民主党宣读了行动卷宗中的活动清单。 添加档案后,该档案将输入菜单。 为了在工作流程中实际添加这一内容,你还需要授权按班次名称进行海关工作流程活动。

为了增加授权的类型,我使用一个特质接收器,其地址如下:

private SPWebConfigModification CreateWebConfigModification(string assembly, string assemblyNamespace)
{
    return new SPWebConfigModification()
    {
        Type = (SPWebConfigModification.SPWebConfigModificationType)0,
        Name = String.Format("authorizedType[@Assembly= {0} ][@Namespace= {1} ][@TypeName= * ][@Authorized= True ]", (object)assembly, (object)assemblyNamespace),
        Path = "configuration/System.Workflow.ComponentModel.WorkflowCompiler/authorizedTypes",
        Owner = assemblyNamespace,
        Sequence = 0U,
        Value = String.Format("<authorizedType Assembly= {0}  Namespace= {1}  TypeName= *  Authorized= True  />", (object)assembly, (object)assemblyNamespace)
    };
}

这将产生SPWebConfigModification,可在安装/安装过程中使用。

问题回答

Check you local admin privleges. This error comes up if you don t have local priveleges

create a new web and site collection and create a new a new workflow for the new site. you ll get the error message. don t save the work flow. and close the SPD. reopen the designer and create a new work flow it ll solve the problem.





相关问题
WIX C++ Custom Action

I have a basic WIX custom action: UINT __stdcall MyCustomAction(MSIHANDLE hInstaller) { DWORD dwSize=0; MsiGetProperty(hInstaller, TEXT("MyProperty"), TEXT("...

Execute a .exe file automatically after installation

I have a .exe file, which should be executed as soon as the installation of the main application is finished. I understand this can be achieved using Custom action. I need a little assistance in ...

Empty setup project in Visual Studio 2008

I have a ClickOnce installation I want to distribute. Some system administrators prefer a MSI installation package which, when run, installs the ClickOnce application. I ve created a Visual Studio ...

ASP.NET MVC Pass object from Custom Action Filter to Action

If I create an object in a Custom Action Filter in ASP.NET MVC in public override void OnActionExecuting(ActionExecutingContext filterContext) { DetachedCriteria criteria = DetachedCriteria.For&...

热门标签