Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
46 5 6 10

.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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidatainitialization
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.

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

Upvote
Accepted
39.4k 77 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 5 6 10

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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