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 Data APIs /
avatar image
Question by evan.lee · Oct 27, 2020 at 07:13 PM · erroreikon desktop api

What could cause the error "Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices"

An application connecting the Reuters using the legacy desktop application is producing an interesting issue.

In two different environments I'm getting different results.

After publishing the application I need to copy over the missing DLL files (EikonPipeDll, i18nresource, msvcp120 and msvcr120 published on 2015-11-24) for the application to run without errors.

When I switch to another environment and try it again I get the error

Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices

Last Stack Trace:

at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)


I've tried using the new missing dlls published on 2020-04-13, but using these the program fails with the same error in both environments.


I've tried identifying where the dll were being loaded in using the bellow code targeting the following assembelies: typeof(DataServices).Assembly, typeof(IDataServices).Assembly, typeof(DataServicesStateChangedEventArgs).Assembly, typeof(ServiceInformationChangedEventArgs).Assembly, typeof(CommonInterval).Assembly and typeof(DataChunk).Assembly.


private static IEnumerable<Assembly> GetReferencedAssemblies(Assembly a, HashSet<string> visitedAssemblies = null)

{

visitedAssemblies = visitedAssemblies ?? new HashSet<string>();

if (!visitedAssemblies.Add(a.GetName().EscapedCodeBase))

{ yield break; }

foreach (var assemblyRef in a.GetReferencedAssemblies())

{

if (visitedAssemblies.Contains(assemblyRef.EscapedCodeBase)) { continue; }

var loadedAssembly = Assembly.Load(assemblyRef);

yield return loadedAssembly;

foreach (var referenced in GetReferencedAssemblies(loadedAssembly, visitedAssemblies))

{ yield return referenced; }

}

}

Results:

In my first environment using the old missing dlls everything worked well and the paths were pointing to the application folder. When I tried on the second environment or when using the new version of the missing dlls, I got the following error.


Could not load file or assembly 'ThomsonReuters.Udap.BusTools.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

mscorlib


I was hoping someone would shed some light as to why this is happening.

I've tried loading the missing dll directly, but doing this caused a System.BadImageFormatException.

And I've also tried imbedding the package in my tool but this too caused an issue.

Any idea or suggestion will help. It might help me narrow down the problem.


Thank you.


People who like this

0 Show 0
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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Oct 28, 2020 at 08:43 AM

@evan.lee

You can use the Process Monitor tool to verify the file activities of the application in both environments, as mentioned in this question.

Then, we can compare both logs to identify the differences.

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.

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

Why was ThomsonReuters.Desktop.SDK.DataAccess.Signed.x64 unlisted from nuget?

Problem with get a news through api key for python and Web Eikon

getting a strange Attribute error

Historical auction prices and indicative auction prices using Eikon Desktop API

When using get_timeseries for RIC FCPOJ0, the open, high and low are correct but the close is a duplicate of yesterdays close. This is not the case with for instance BOK0, where the behaviour is as expected.

  • 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