For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
46 3 5 9

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

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!

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikondatainitialization
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
39.3k 76 11 27

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
46 3 5 9

Ok great I understand the problem thanks a lot for your answer!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.