0
Not a bug

SAP HCM Agent - Test connection fails

Dilip Ramakrishnan 6 years ago updated by Adam van Vliet 6 years ago 3

Environment:

OS : Windows Server 2016

IDB Service: IDB v4.1.5 x64

IDB SAP Broker : v4.1.3 x64

Test connection on SAP HCM Agents returns error below:

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

Troubleshooting done so far:

Current environment with IDB v4.1.3 + IDB SAB Broker v4.1.2 running on Windows 2008 R2 with same credentials and same parameters to connect to SAP instance works without any issues.

IDB Logs have this entry below

The test of agent 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.SapHrAgent.TestConnection()
at Unify.Product.IdentityBroker.AgentEngine.Test(Guid agentId).

No errors logged in Event Viewer.

Thanks. Could this information be updated in the pre-requisites section of the SAP HCM Broker? Would have been helpful.

https://voice.unifysolutions.net/knowledge-bases/7/articles/3102-identity-broker-for-sap-erp-human-capital-management-prerequisites


It's not a hard prerequisite, the separate service/connectivity fixes that. The documentation will be updated to reflect this at the same time.