Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon COM /
avatar image
Question by HFTVOL · Feb 23, 2017 at 03:31 AM · eikon apieikon-sdkc#c# .net

Getting "ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException" in C# ConsoleApp but not WPF

I can use the Eikon .Net API without issues from within a WPF application. However, the same code run by being instantiated within a Console Application throws the following error after submitting a historical data request: "ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException"

I am absolutely sure that I included all dlls and references, and as mentioned the wrapper works perfectly fine from within a WPF application.

What do I need to do in order to run the same code from within a Console Application without an implicit message pump? Hint: I use Dispatcher.CurrentDispatcher to use whenever I invoke a call to the Eikon .Net API but I am afraid that this does not work from within a Console Application. Please could you not refer me to the Console Application sample code, it does not work in a WPF environment and vice versa, sample code from your WPF app does not work from within a Console Application environment.

IMPORTANT: I need to run the 100% identical code without any alterations regardless whether it is from within a WPF or Console Application.

Thanks

People who like this

0 Show 1
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Alex Putkov. ♦♦ · Feb 23, 2017 at 09:43 AM 0
Share

What type is it unable to resolve? And what's the call stack for the exception?

2 Replies

  • Sort: 
avatar image
Best Answer
Answer by HFTVOL · Feb 27, 2017 at 08:00 AM

Problem is resolved after I created a new console app.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by sudith.divakaran · Oct 06, 2019 at 12:19 PM

Can u share sample code for console application c# ?

Comment

People who like this

0 Show 3 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Alex Putkov. ♦♦ · Oct 07, 2019 at 02:21 AM 0
Share

There's a bunch of examples you can download from the Downloads section on Eikon .NET APIs page on this portal.

avatar image
sudith.divakaran Alex Putkov. ♦♦ · Oct 07, 2019 at 05:41 AM 0
Share

Thank you for the response, we don't have to define anything in the app .config? as there is nothing in app.config for configurations in the applications in Downloads

avatar image
REFINITIV
Alex Putkov. ♦♦ sudith.divakaran · Oct 07, 2019 at 03:41 PM 0
Share

No, you don't have to define anything in App.config file.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Eikon TimeSeries API

Eikon Core and Eikon API

Real time last price including extended hours trading

What to do when I receive RT_ITEM_DELAYED?

Equity data in milliseconds.

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges