...loaded."
Matlab (treikonnet) using ThomsonReuters.Desktop.SDK.DataAccess throws the error "One or more requested types cannot be loaded."
Firstly, ALL the examples in "NET APIs for use in custom applications" WORKS; see net-apis-use-custom-applications, including the Example Time Series API.
I installed the files here c:\temp\eikon\Usage Example Time series API\. Call this LIB
I wanted to make use of the MATLAB (64bit, R2018a) TimeSeriesExample.m provided here using-eikon-net-sdk-matlab
Even after days of trying, I CANNOT get this to work.
The error message line 24 of treikonnet.m is "One or more requested types cannot be loaded. Get the property LoaderExeption" (translated from Danish). Line 24 reads
t.Assembly{1} = NET.addAssembly([eikonsdkpath 'ThomsonReuters.Desktop.SDK.DataAccess.dll']);
How I installed:
I created a new folder c:\temp\eikon\EikonNetSDKnew\ and I copy the following files into this:
- LIB\packages\Common.Logging.3.4.1\lib\net40\Common.Logging.dll
- LIB\packages\Newtonsoft.Json.11.0.2\lib\net40\Newtonsoft.Json.dll
- LIB\packages\protobuf-net.2.3.13\lib\net40\protobuf-net.dll
- LIB\packages\ThomsonReuters.Desktop.SDK.DataAccess.Signed.x64.1.8.4\lib\net40-Client\ThomsonReuters.Desktop.SDK.DataAccess.dll
- LIB\packages\ThomsonReuters.Udap.Ipc.Signed.x64.2.10.5\lib\net40-Client\ThomsonReuters.Udap.BusTools.dll
- LIB\packages\ThomsonReuters.Udap.Ipc.Signed.x64.2.10.5\lib\net40-Client\ThomsonReuters.Udap.Ipc.Managed.Common.dll
- LIB\packages\ThomsonReuters.Udap.Ipc.Signed.x64.2.10.5\lib\net40-Client\ThomsonReuters.Udap.ManagedPS.dll
I get exactly the the same error message if I copy these also, as suggested in the forum
- LIB\DataApiUsageExampleTimeseriesData\bin\Debug\EikonPipeDll.dll
- LIB\DataApiUsageExampleTimeseriesData\bin\Debug\i18nresource.dll
- LIB\DataApiUsageExampleTimeseriesData\bin\Debug\msvcp120.dll
- LIB\DataApiUsageExampleTimeseriesData\bin\Debug\msvcr120.dll
Then, if I run TimeSeriesExample.m and changed the reference to " c:\temp\eikon\EikonNetSDKnew\ ", the script throws the above mentioned error. I also tried with 64-bit R2016b.
Any suggestions to fix the problem. Any help greatly appreciated.