Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Problem registering Custom Workflows on CRM 2011 Online

$
0
0

I get the following error trying to register a custom workflow activity on CRM 2011 Online:

- I am using the latest Plugin Registration tool (5.0.15)

- Code activity can be registered without an issue on another CRM Online environment.

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-03-28T15:37:30.4643807Z</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-03-28T15:37:30.4643807Z</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)


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>