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 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,175

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

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 28

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans