.NET API: Can't create an instance of the Dataservices object taking my app name as initialization p

Hello,

*** Sorry in advance for the triviality of this quesiton***

I keep getting the System.BadImageFormatException error when trying to create an instance of the Dataservices object taking my app name as initialization parameter in the .NET API reference data examples (see dowloads in the .NET API for use in custom applications). What should I write in the "appname" field in order to make it work ?

Thanks!

Best Answer

  • The appname can be any string. The reason for the exception you saw must be the mismatch between the bitness of your process and that of Eikon .NET SDK. If you compile your application into 64-bit process make sure you download 64-bit Eikon .NET SDK. Conversely if your application is 32-bit make sure to use 32-bit Eikon .NET SDK.

Answers