Disable Error message box in RFA
Hi
I'm trying to disable the "RFA Internal Failure" dialog. I would like to replace it with my own exception handling.
I have tried to edit my .cfg file according to section 2.8 in the configuration guide and i'm testing by removing the RFA8_MsgFile120_x64.dll file
Best Answer
-
I'm not sure what version of RFA you are using and is this 32 bit application running on 64 bit ?or it's 64 bit application. If it's 32 bit application running on 64 bit you have to change the registry to Wow6432Node according to Microsoft.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\Default]
"RFA_MESSAGEBOX_ENABLED"="False"
"RFA_LOG_FILENAME"="rfa_verify.log"0
Answers
-
You can't replace RFA Internal Failure dialog with you own exception handling. RFA has internal thread to catch unhandled exception and it usually reports the exception in pops up dialog(winndows). No configuration to disable the RFA exception handling and leave it throw to application layer.
The message in the message file(RFA8_MsgFile120_x64.dll) is for RFA internal component logger message.
However we have RFA configuration for turn off the message box pops up for internal RFA errors. You can set RFA_MESSAGEBOX_ENABLED to false in the windows registry under sectionHKEY_LOCAL_MACHINE\Software\Reuters\RFA\Default
RFA still generate RFA Internal Failure log under temp directly but no pops up. See below details the configuration from RFA Configuration Guide.0 -
I have tried that, both with registry and the .cfg file but i can't get it to work. The box pops up anyway.
0 -
I have tried that, both with registry and the .cfg file but i can't get it to work. The box pops up anyway.
0 -
it can use with registry only, please check the details from RFA Config Guide.
Can you export the registry you set the config? I would like to verify your setting.
0 -
I have tested below config with my registry and it work correctly. No pop up shows and it save the log in file specified in RFA_LOG_FILENAME under running directory instead.
[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default]
"RFA_MESSAGEBOX_ENABLED" = "False"
"RFA_LOG_FILENAME" = "rfa_verify.log"0 -
Here is my export from registry
0 -
That was the problem. I tested RFA7 which is 32 bit, so with Wow3432Node it worked. Thanks.
0 -
Another thing, in the configuration guide, D.4.2 it looks like
RFA_MESSAGEBOX_ENABLED kan be defined in the .cfg file. Is that impossible?
0 -
According to Config Guide, it supports Registry only.
Location
Registry: [HKEY_LOCAL_MACHINE\Software\Reuters\RFA\Default]
File: N/A
0 -
In the configuration guide chapter D.4.2 it looks like the messagebox setting can be configured in the .cfg file. Is that not possible?
0 -
Which version of RFA are you using? I cannot find the chapter D.4.2 in the configuration guide of RFA 8.0 version.
0 -
I'm using rfanet8.0.1.L1.win.rrg
Its on page 75Document ID: RFAN800CG.150
Document Version: 1.0
Date of Issue: 24 July 20150 -
Thank you for the document version. Now, I understand your concern. It seems that the document is incorrect. The RFA_MESSAGEBOX_ENABLED is available only on Registry. I will pass this information to RFA development to fix the document.
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 中文论坛