web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Error while registering Custom Workflow in Plugin Registration Tool

(0) ShareShare
ReportReport
Posted on by 351

Hello All,


I am getting error when try to register custom workflow on Plugin Registeration Tool.
Following is my Error code:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.
Detail: <OrganizationServiceFault xmlns="">schemas.microsoft.com/.../Contracts" xmlns:i="">www.w3.org/.../XMLSchema-instance">
  <ActivityId>f58cc32d-185c-4e11-9da9-f67a09815dac</ActivityId>
  <ErrorCode>-2147204725</ErrorCode>
  <ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionSourceKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiOriginalExceptionKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../XMLSchema">Microsoft.Crm.CrmException: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types. ---&gt; Microsoft.Crm.CrmException: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.
   at Microsoft.Crm.CrmPluginAssemblyMetadata.GetPluginTypeMetadata(String typeName)
   at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.SetIsWorkFlowActivityAttribute(PluginType pluginTypeArg, IBusinessEntity PluginAssembly, SandboxCustomActivityInfo&amp; customActivityInfo, CrmPluginTypeMetadata&amp; typeMetadata, ExecutionContext Context)
   at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Create(IBusinessEntity entity, ExecutionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiStepKey</a:key>
      <a:value i:type="b:guid" xmlns:b="">schemas.microsoft.com/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiDepthKey</a:key>
      <a:value i:type="b:int" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiActivityIdKey</a:key>
      <a:value i:type="b:guid" xmlns:b="">schemas.microsoft.com/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiPluginSolutionNameKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiStepSolutionNameKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionCategory</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionMesageName</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionHttpStatusCode</a:key>
      <a:value i:type="b:int" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <HelpLink>http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3fLinkID%3d398563%26lcid%3d1033%26error%3dMicrosoft.Crm.CrmException%26client%3dplatform%26sv%3d9.0.43.979%26de%3dLive%26opsys%3dMicrosoft+Windows+NT+10.0.14393.0%26errorCode%3d-2147204725</HelpLink>
  <Message>PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.</Message>
  <Timestamp>2019-11-19T07:49:52.2983308Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>f58cc32d-185c-4e11-9da9-f67a09815dac</ActivityId>
    <ErrorCode>-2147204725</ErrorCode>
    <ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic" />

    <HelpLink i:nil="true" />
    <Message>PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.</Message>
    <Timestamp>2019-11-19T07:49:52.2983308Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Do anyone have idea about this error?

Please help.

Thanks in advance!

I have the same question (0)
  • Suggested answer
    Thangamani Profile Picture
    507 on at
    RE: Error while registering Custom Workflow in Plugin Registration Tool

    Hi,

    Pls go through this and hope this helps.

    community.dynamics.com/.../plug-in-assembly-does-not-contain-the-required-types-or-assembly-content-cannot-be-updated-error

    Regards,

    Thangamani

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: Error while registering Custom Workflow in Plugin Registration Tool

    PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.

    Error message says the assembly is missing the plugin type. That means the code is not latest.

    You can try unregistering the existing assembly & retry with the new assembly built with the code you have.

    Note: Make sure you have taken the solution backup with plugin assembly + steps before investigating.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans