No meu primeiro contato com o Dynamic AX, depois de criar o site no IIS 7, ao tentar consumir um serviço ocorreu aquela famosa tela amarela:
Could not load file or assembly 'Microsoft.Dynamics.BusinessConnectorNet' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Microsoft.Dynamics.BusinessConnectorNet' or one of its dependencies. An attempt was made to load a program with an incorrect format.
E agora?
Para corrigir o problema basta configurar o application pool referente ao site no IIS 7, a compatibilidade com aplicativos 32bits.
No IIS 7 -> Application Pools -> [MeuApplicationPool] -> Advance Settings -> Enable 32-Bit Applications
;)