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 while Inbound port HTTP Activation

(0) ShareShare
ReportReport
Posted on by

Hi All,

I'm facing an issue while activating my inbound port of my custom service which of HTTP, and for NetTcp it works fine.

It throws an error as below,

The port 'SurService' could not be deployed.\nError: An unknown error has occurred

service-error.png


I debugged and checked, it thrown error following code in method deployToIIS,class AifServiceDeployer,

which is of a hot-fix change (KB2911440)

code-where-error-thrown.png

I tried in other environments where this hot-fix is not installed where it activated perfectly.

then i tried to revert the code change by importing original version before hot-fix, this allowed me to activate my inbound port without any error but, while adding service reference to consume my service it thrown an error as below,

consume-error.png

Please let me know your valuable comments on this issue.

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Iulian Cordobin Profile Picture
    8,201 on at

    So, basically what I think is wrong here, you have a code hotfix that requires some new dlls (this would explain the reflection calls) that are coming only part of a Kernel update (which is normal); I guess you have a lower kernel version than of the hotfix in question, so this might explain the behavior. The fix would be either apply the latest kernel update (which is a good thing to do), or revert the code hotfix.

  • Community Member Profile Picture
    on at

    As you said I have a lower kernel version than the code hot fix.

    Hope a Kernel update will resolve my issue.

    Thanks Iulian,for your valuable comment.

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