0
Answered

SAP Connector v4.1: BadImageFormatException

Huu Tran 6 years ago in UNIFYBroker/SAP ERP Human Capital Management • updated by Curtis Lusmore 1 year ago 3

1. Deployed IdbV4.1
2. Deployed SAP connector v4.1
4. Cut and paste to ConnectorEngine config file from v308 working config files
5. Open idb admin page and found the following eror:

20131007,01:43:40,UNIFY Identity Broker,AgentEngine,Warning,"The test of agent somerset.its.monash.edu.au SAP HCM Agent failed with message System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at SAP.Connector.Connection.Open()
at Unify.Product.IdentityBroker.SapHrCommunicator.Open()
at Unify.Product.IdentityBroker.SapHrCommunicator.TestConnection()
at Unify.Product.IdentityBroker.AgentEngine.Test(Guid agentId).",Normal

Config file and log file attached


Unify.Product.IdentityBroker.ConnectorEnginePlugInKey.extensibility.config.xml
UnifyLog20131007.csv
Affected Versions:
Fixed by Version:

Answer

Answer

As discussed over the weekend, this is due to the prerequisite of running Identity Broker in 32 bit mode for the Identity Broker for SAP HCM connector.

My educated guess: we are loading 32-bit image into 64-bit process !

Answer

As discussed over the weekend, this is due to the prerequisite of running Identity Broker in 32 bit mode for the Identity Broker for SAP HCM connector.

Run in 32-bit mode and it is working