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 AX (Archived)

Unknown error activating integration port for custom service using msmq

(0) ShareShare
ReportReport
Posted on by

Hi

We are trying to create a simple service which we would like to expose externally, hosted in AOS.

We got so far as code compiles and we believe the WCF configuration for a net.msmq endpoint has been setup correctly for an inbound integration port.

When we activate the port, there is a popup stating it was deployed successfully but the port itself communicates "unknown error"

We have msmq installed and configured, we have the queue setup, it is non-transactional and no security settings are enabled and everyone has full access to it.

The service works if we use standard net.tcp protocol

Are there anybody who could offer a few pointers on how/where to troubleshoot? i.e someway of tracing what the unknown error is or even where it is happening.

Best regards

Lars Jakobsen

dump.png

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    What are you doing with the port and where exactly do you get "Unknown error"? If you get it when calling the port from another application, check the type of the exception and any inner exceptions.

    Is anything logged in the event log?

    And of course, review your setup (Deploy Message Queuing for AIF).

  • Community Member Profile Picture
    on at

    The port will expose our custom service which has 3 operations for 3rd party software to consume.

    The error happens after clicking "Activate" and the infolog states it is deployed successfully. It is shown in the upper right corner of the "inbound ports" form above the port settings.

    So no interaction with the port has happened at the point of the error.

    -L

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Aha, sorry, I see it now.

    If checking the configuration and logs doesn't help, I would step through the deployment process in debugger to see what exactly fails.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans