This message is NOT formated since message file is NOT open!
Hello, I'm running RFA .NET Tutorials\step 7. The solution references library rfanet8.0.1.E1.win\Libs\WIN_64_VS110\RFA8_NET110_x64.dll.
When I debug the example I see following errors in the Windows console:
2017/06/05 17:47:31.905 INFO
<- Received LoggerNotifyEvent:
[Mon Jun 05 17:47:31 2017]: (ComponentName) Static: (Severity) Information:
This message is NOT formated since message file is NOT open!
Morover there are popup dialogs shown which contain the following errors:
File: ..\..\..\Logger\Impl\MessageFormatterImpl.cpp
Line: 80
Problem:
::LoadLibrary failed in MessageFormatterImpl::init() for component name "Static", with logger message file "RFA7_MsgFile". This message file could not be found. Check component logger configuration. Last error: 126
RFA_VERIFY( 0 ) failed
Stack Trace:
0x000007FEDA45BA90 C:\netdev\ReutersRFA.NETTutorials\step7\Debug\RFA8_NET110_x64.dll: GenerateStackTrace() + 176 bytes
c:\jenkins\workspace\dlibnetcore\os\vs110-64\rfaut\common\support\rfainternal\impl\rfaverify.cpp, line 591
0x000007FEDA45CF48 C:\netdev\ReutersRFA.NETTutorials\step7\Debug\RFA8_NET110_x64.dll: __RFA_ProblemReport() + 984 bytes
c:\jenkins\workspace\dlibnetcore\os\vs110-64\rfaut\common\support\rfainternal\impl\rfaverify.cpp, line 392
0x000007FEDA53D4D4 C:\netdev\ReutersRFA.NETTutorials\step7\Debug\RFA8_NET110_x64.dll: rfa::logger::MessageFormatterImpl::init() + 420 bytes
c:\jenkins\workspace\dlibnetcore\os\vs110-64\rfaut\logger\impl\messageformatterimpl.cpp, line 80
Do you know how this problem can be resolved?
Note that the original example referenced RFA7_NET110_x64 while now it is only possible to download newer RFA8_NET110_x64 which may not be compatible with the example projects?
Best Answer
-
It looks like ExampleRFA.cfg still use RFA7 message files
\Logger\ComponentLoggers\Connections\messageFile= "RFA7_Connections"
\Logger\ComponentLoggers\RSSL_Adapter\messageFile= "RFA7_RSSL_Adapter"
\Logger\ComponentLoggers\RSSL_Cons_Adapter\messageFile= "RFA7_RSSL_Cons_Adapter"
\Logger\ComponentLoggers\RSSL_Prov_Adapter\messageFile= "RFA7_RSSL_Prov_Adapter"
\Logger\ComponentLoggers\SessionCore\messageFile= "RFA7_SessionLayer"
\Logger\ComponentLoggers\Static\messageFile= "RFA7_MsgFile"You have to change the config to use RFA8 message files instead
\Logger\ComponentLoggers\Connections\messageFile= "RFA8_Connections"
\Logger\ComponentLoggers\RSSL_Adapter\messageFile= "RFA8_RSSL_Adapter"
\Logger\ComponentLoggers\RSSL_Cons_Adapter\messageFile= "RFA8_RSSL_Cons_Adapter"
\Logger\ComponentLoggers\RSSL_Prov_Adapter\messageFile= "RFA8_RSSL_Prov_Adapter"
\Logger\ComponentLoggers\SessionCore\messageFile= "RFA8_SessionLayer"
\Logger\ComponentLoggers\Static\messageFile= "RFA8_MsgFile"And then copy message file from
<RFA.NET Installation Path>/Libs/WIN_64_VS110/RFA8_MsgFile110_x64.dll
to running directory or folder Debug for the tutorial.
Alternative way to avoid issue about loading message file in RFA application, you might add the following config to RFA configuration file (ExampleRFA.cfg)
\Logger\AppLogger\useInternalLogStrings =True
When enabled, uses log strings stored internally in RFA libraries or DLL’s. RFA[x]_MsgFile.dll (static) is not required when this option is enabled. Using this option will override windowsLoggerEnabled and not log events.
0
Answers
-
Hi @petr.synek,
This error is caused by missing RFA8_MsgFileXX_YY.dll, that should be included together with RFA8_NETXX_YY.dll.
Please copy it from rfanet toolkit ->Libs->your build
Including an excerpt from RFA.NET Developer Guide, section Deployment, as in many cases you will require addtional DLLs:
"To run the application, users must ensure that the following dll files exist in the current .exe file directory (“rfanet<major>.<minor>.<maintainance>.<load number>.win.rrg \Examples\YourExample\Release_WIN_xx_VSyy\”) or /windows/system32: RFA7_NETyy.dll, RFA7_MsgFileyy.dll, DACS7_lock_NETyy.dll (if used) and AnsiPage_NETyy.dll (if used). If these dll files do not exist in these directories, users must specific the PATH environment variable to point to these files."
0 -
Thanks guys for your responses. The issue was solved by fixing ExampleRFA.cfg. Renaming strings like RFA7_Connections to RFA8_Connections etc. did the trick. Copying of the RFA8_MsgFile110_x64.dll into the Debug folder was not necessary.
0 -
Thanks. The issue was solved by fixing the ExampleRFA.cfg. Renaming strings like RFA7_Connections to RFA8_Connections etc. did the trick. Copying of the RFA8_MsgFile110_x64.dll into the Debug folder was not necessary.
0 -
Thanks for your response. Actually adding the RFA8_MsgFileXX_YY.dll into the Debug folder did not fix it. The issue was in the ExampleRFA.cfg file which was still configured for RFA7.
0
Categories
- All Categories
- 6 AHS
- 37 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛