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)

Need help to consume "Failover transport/TCP" Service on CRM workflow

(0) ShareShare
ReportReport
Posted on by 60

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)
  • Verified answer
    Salinee sachan Profile Picture
    40 on at

    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

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