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)

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

(0) ShareShare
ReportReport
Posted on by 5,133

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…

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