
Hi All,
I am trying to consume the JMS service using Dynamics CRM Workflow. I am using Activemq NMS dlls to achieve this.
i test the source code snippet on Console application and its working perfectly. However If i execute same code inside the Custom workflow I am getting following error.
error message Inheritance security rules violated while overriding member: 'Apache.NMS.NMSException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden. Stack Trace : at Apache.NMS.Util.URISupport.ParseQuery(String query) at Apache.NMS.ActiveMQ.ConnectionFactory.set_BrokerUri(Uri value) at Apache.NMS.ActiveMQ.ConnectionFactory..ctor(Uri brokerUri, String clientID) at Apache.NMS.ActiveMQ.ConnectionFactory..ctor(Uri brokerUri) at tetrad.workflow.SyncAccount.Execute(CodeActivityContext context)
I am using CRM 2013 on-premise environment with administrator previledge.
I request you all to help me on following things.
1. I have found on some link that CRM doesn't allow tcp ip binding inside workflow, is it possible to enable this?
2. Is it possible to register custom workflow on "None" isolation mode?
Waiting for your response..
Regards,
Naresh Phuloria
*This post is locked for comments
I have the same question (0)Hi Naresh,
1. Yes if workflow/plugin is registered in Sandbox mode, CRM has web access restriction.
Following link has detailed information on this.
msdn.microsoft.com/.../gg334752(v=crm.6).aspx
2. You can register plugin/workflow in a none isolation mode if you are Deployment administrator. Since you are using on premise you can register it.
The error Seems more of security issue only..
Regards,
Salinee