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
7 4 5 8

System.BadImageFormatException: Could not load file or assembly 'ThomsonReuters.Desktop.SDK.DataAccess, Version=1.8.1.0' or one of its dependencies.

Hi,

I am trying to query live Reuters data in a multi-threaded .NET Console application. My implementation does not use the Dispatcher.Frame but a multi-threaded env where I have one thread which is waiting for the required data to be fetched from Reuters (similar to what DispatcherFrame implementation does).

I got the error "System.BadImageFormatException: Could not load fiel or assembly 'ThomsonReuters.Desktop.SDK.DataAccess, Version=1.8.1.0, Culture=neutral, PubliKeyToken=f277fbca8b8695cc' or one of its dependencies. An attempt was made to load a program with an incorrect format".

I used a separate simplified solution (less threads) to query live data from Reuters and it worked.

In the current project, I made sure that all the necessary dlls (as per https://community.developers.refinitiv.com/questions/18427/view.html) are present in the bin folder. When looking with the process monitor i did not find the EikonPipeDll.dll so i assume the error appeared before the library was loaded.

Any help will be appreciated.

Thanks

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apimulti-threading
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.

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

See the answer on this thread.

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.