Error loading 'ThomsonReuters.Udap.BusTools.DLL' assembly.
Run Time Exception occurs saying the module could not be found.
Please see attached screenshot.eikonapierror.png
Best Answer
-
This is the effect of shadow copying excluding unmanaged dlls. As you can see from the Proc Mon log, ThomsonReuters.Udap.Bus.Tools.dll (together with all other managed dlls) is copied from the bin folder to the Temporary ASP.NET Files folder, and this is where it's loaded from into the application. Then the process tries to load EikonPipeDll.dll from the same location, does not find it there, tries to find it in the process folder and in the PATH and fails. The reason why EikonPipeDll.dll is not copied to the Temporary ASP.NET Files folder is that EikonPipeDll.dll is unmanaged. There are multiple ways you can go about working around this. Here are some references:
https://blogs.msdn.microsoft.com/jorman/2007/08/31/loading-c-assemblies-in-asp-net/https://stackoverflow.com/questions/2907169/asp-net-load-unmanaged-dll-from-bin-folder
http://www.amithegde.com/2015/06/fixing-unmanaged-dll-not-found-exception-on-asp-net-app.html
1
Answers
-
Could I ask you what you are trying to do?
0 -
I am trying to fetch real-time data using Eikon API.
Its a C# application0 -
Is it an ASP .NET project?
0 -
No, it's MVC.
0 -
Most likely you're missing one of the dependencies of ThomsonReuters.Udap.BusTools.dll in your build folder. Here's the list of the files you need to have in the build folder:
Common.Logging.dll
EikonPipeDll.dll
i18nresource.dll
protobuf-net.dll
Newtonsoft.Json.dll
ThomsonReuters.Desktop.SDK.DataAccess.dll
ThomsonReuters.Udap.BusTools.dll
ThomsonReuters.Udap.Ipc.Managed.Common.dll
ThomsonReuters.Udap.ManagedPS.dll
You may also need Microsoft C Runtime libraries (msvcp120.dll and msvcr120.dll) in the build folder if they're not found in the PATH.
Please also be advised that the data usage rights that come with Eikon only permit the usage of data retrieved from Eikon "for the user's individual use". If you're using data retrieved from Eikon in a Web server application, and you're only licensed for Eikon, you may be in violation of your contract with Thomson Reuters.0 -
All these dlls along with msvcp120.dll and msvcr120.dll are present in the build folder.
Also, I verified licensing details and it seems the application we are developing is fine with the current license contract.Can you please help me dubug further?
0 -
All these dlls along with msvcp120.dll and msvcr120.dll are present in the build folder.
Also, I verified licensing details and it seems the application we are developing is fine with the current license contract.Can you please help me dubug further?
0 -
Couple more sanity checks:
1. Can you tell me the version of Eikon .NET SDK you downloaded from NuGet? Best if you just attach your packages.config file here.
2. You're trying to run this application on a machine where Eikon is installed, right?0 -
Sure..
1. ThomsonReuters.Desktop.SDK.DataAccess.Signed version = 1.8.4
ThomsonReuters.Udap.Ipc.Signed version = 2.10.5
For reference, I have attached packages.txt (since .config files are not suppoerted here).packages.txt2. Yes, Eikon is installed on the machine I am trying to run the application on.
0 -
The list of packages looks good. Clearly there's something missing, but I'm out of ideas of what it might be. Try creating a new project, installing Eikon 4 Desktop Data APIs into it, compiling and running it.
0 -
You can use a Process Monitor tool to verify the problem.
In Process Monitor Filter, add the web server process, such as iisexpress.exe.
Select only Show System File Activity.
Focus on the file activities for ThomsonReuters.Udap.Bus.Tools.DLL and EikonPipeDll.dll. You need to verify the location of files used by the process to load the libraries.
1 -
Hi @steven.peng
Apologies for not being able to update quickly on this. I didn't get a chance to work with Process Monitor tool.
I'll surely update the team with the status soon.
0 -
Can you please take a look at log file generated by Process Monitor tool?
I have also attached a fileter screenshot.0 -
This works!
Thank you Alex for help.0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛