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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans