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

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans