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

...ot 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

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • HFTVOL
    HFTVOL Explorer
    Answer ✓

    Problem is resolved after I created a new console app.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.