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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problem registering Custom Workflows on CRM 2011 Online

(0) ShareShare
ReportReport
Posted on by 475

Hi,

Since Microsoft had recently updated there CRM online to handle Custom Workflows on its last December 2012 roll-up I'am trying it. However I'm having problems registering my workflow and this error message in plug-in registration tool comes out

--------------------------------------------

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Plug-in assembly does not contain the required types or assembly content cannot be updated.
Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorCode>-2147204725</ErrorCode>
  <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>Plug-in assembly does not contain the required types or assembly content cannot be updated.</Message>
  <Timestamp>2013-01-17T02:13:59.0440988Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147204725</ErrorCode>
    <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>Plug-in assembly does not contain the required types or assembly content cannot be updated.</Message>
    <Timestamp>2013-01-17T02:13:59.0440988Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity)
   at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.RegisterPlugin(CrmOrganization org, CrmPlugin plugin)
   at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)

------------------------------------------------

Any help would be highly appreciated. Thanks.

By the way, I'm just using this code from MSDN just for sample.

http://msdn.microsoft.com/en-us/library/gg334455.aspx

*This post is locked for comments

I have the same question (0)
  • Gus Gonzalez Profile Picture
    27,113 on at

    Kris,

    Some organizations have not been upgraded yet and some of the features included on this Update Rollup version will not be released until the end of february.

    Are you sure that your online organization has been upgraded?

  • Atilin Profile Picture
    on at
  • Kris Canico Profile Picture
    475 on at

    Hi Gus,

    Thanks for your reply.

    By the way I'm just using the CRM online free trial. Your right with my last organization not having the latest roll-up so I've created a new updated free trial CRM online again. And my error problem has been changed to the below details.

     

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.
    Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ErrorCode>-2147200995</ErrorCode>
      <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.</Message>
      <Timestamp>2013-01-18T05:10:02.0704685Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147200995</ErrorCode>
        <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.</Message>
        <Timestamp>2013-01-18T05:10:02.0704685Z</Timestamp>
        <InnerFault i:nil="true" />
        <TraceText i:nil="true" />
      </InnerFault>
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity)
       at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.RegisterPlugin(CrmOrganization org, CrmPlugin plugin)
       at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)

     

    It seems that the problem is now from the DLL from CRM.

  • Kris Canico Profile Picture
    475 on at

    Hi Atilin,

    Thanks for your reply. I've also seen that post but nothing there had given me help.

    Thanks,

    Kris

  • Paparaju Gowd Rajulapati Profile Picture
    245 on at

    Hi Kris,

    I am also facing same issue :

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.

    Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">

     <ErrorCode>-2147200995</ErrorCode>

     <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />

     <Message>Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.</Message>

     <Timestamp>2013-01-18T07:00:49.9511144Z</Timestamp>

     <InnerFault>

       <ErrorCode>-2147200995</ErrorCode>

       <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />

       <Message>Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.</Message>

       <Timestamp>2013-01-18T07:00:49.9511144Z</Timestamp>

       <InnerFault i:nil="true" />

       <TraceText i:nil="true" />

     </InnerFault>

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

    Server stack trace:

      at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

      at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:

      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

      at Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity)

      at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity)

      at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.RegisterPlugin(CrmOrganization org, CrmPlugin plugin)

      at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)

    Any help would be highly appreciated. Thanks.

    Thanks,

    Paparaju

  • Kris Canico Profile Picture
    475 on at

    Hi Paparaju Gowd Rajulapati,

    I still encounter the issue and as of this wrting I still don't know how to resolve it.

    Regards,

    Kris

  • Verified answer
    apurv Profile Picture
    926 on at

    Hi Chris,

    If you're facing an issue with custom workflow registration, I would request you to open a support case with Microsoft it.

    Regards,

    Apurv Ghai

  • Kris Canico Profile Picture
    475 on at

    Hi Apurv Ghai,

    Can you give me the details on how to?

    Appreciate your response!.

    Thanks,

    Kristoper

  • Rafael Loureiro Profile Picture
    75 on at

    Hi Kristoper,

    Were you able to get this resolved? I am having the exactly same issue with CRM Online.

    Thanks,

    Rafael

  • Rafael Loureiro Profile Picture
    75 on at

    Were you able to get this resolved? I am having the exactly same issue with CRM Online.

    Thanks,

    Rafael

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans