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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

(0) ShareShare
ReportReport
Posted on by 5,122

Hi 

I'm getting the error when i try to expose custom service using the WSDL URI.

The error seems something like im trying to execute 32-bit  type application in 64-bit or vice versa. Even i tried setting application property "Enable 32 bit-application" as true, though the error still persists 

Service-error.JPG

https://blogs.msdn.microsoft.com/axsupport/2014/12/12/error-when-browsing-a-custom-service-hosted-as-iis-web-service-an-attempt-was-made-to-load-a-program-with-an-incorrect-format-exception-from-hresult-0x8007000b/

Followed the link and did checked the contract objects and its members with respective attributes.

*This post is locked for comments

I have the same question (0)

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Willem van Duren Profile Picture

Willem van Duren 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans