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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 3

Error: Could not load file or assembly 'ThomsonReuters.Desktop.SDK.DataAccess

I downloaded the Usage Example Reference Data API and tried to build it and run it. After many trials using x64 and x86 build config it finally builds but I still have the error mentioned in the title. I moved the various DLL ( msvcp120.dll ; msvcr120 ; EikonPipeDll.dll and I18nResource.dll ) to the build directory in vain. I still have the same error.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvotes
Accepted
38.1k 69 35 53

I can run it properly by following these steps:

1. Download and unzip the DataApiUsageExampleReferenceData

2. Open DataApiUsageExampleReferenceData.csproj with Visual Studio 2017. I saw warning signs under the References

3. Press Ctrl+F5 to build and run the example. The example can run properly

After running, the warning signs under the References are gone.

The following libraries are downloaded.

  • Common.Logging 2.1.2.0
  • protobuf-net 2.0.0.668
  • ThomsonReuters.Desktop.SDK.DataAccess 1.8.1.0
  • ThomsonReuters.Udap.BusTools 2.9.0.127
  • ThomsonReuters.Udap.Ipc.Managed.Common 2.9.0.0
  • ThomsonReuters.Udap.ManagedPS 2.9.0.0

The Debug directory has these files:

How did you build and run the example?


1601377378235.png (23.6 KiB)
1601377801244.png (75.4 KiB)
icon clock
10 |1500

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

Upvotes
39.2k 75 11 27

What is the full error message? Eikon .NET SDK has dependency on both v10 and v12 of Microsoft C++ runtime libraries. Could you check that you have msvcp100.dll and msvcr100.dll available in the PATH or installed in System32 folder corresponding to the bitness of your application, and if not, copy msvcp100.dll and msvcr100.dll into build folder?

icon clock
10 |1500

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

Upvotes
1 0 0 3

@Alex_Putkov Hi Alex. I have started all over again from the begining just to make sure I dont miss a thing. I have now an issue with ThomsonReuters.Desktop.SDK.DataAccess, I've installed the Librairy and add it to my dependecies in the sample code ( DataApiUsageExampleReferenceData ). I am unable to build the solution in x86 and x64. Having this warning : Could not resolve this reference. Could not locate the assembly "ThomsonReuters.Desktop.SDK.DataAccess, Version=1.8.4.0, Culture=neutral, PublicKeyToken=f277fbca8b8695cc, processorArchitecture=x86". Check to make sure the assembly exists on disk. Please can you help.

icon clock
10 |1500

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

Upvotes
1 0 0 3

Thank you. This works. I have gone at lengths to resolve the warnings on my own. using Nuget to restore the packages etc..

icon clock
10 |1500

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

Click below to post an Idea Post Idea