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 bhavishyagoyal · Nov 03, 2017 at 03:01 PM · .net.net eikon api.net sdk.net c#desktop api

Can not connect to EikonDesktopDataAPI using C# code.

I am consuming Eikon Desktop API in my new project. My whole projects is working well when I am running it through Visual Studio 2013, but when I am running it from EXE it is encountering an error.

Error I Am Getting.

Creating an instance of the COM component with CLSID {70B3E69B-E207-412E-8A27-E94A01F96728} from the IClassFactory failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).


This is the code I am using


eikonConnect = new EikonDesktopDataAPI.EikonDesktopDataAPI(); <-- this gives above error

EEikonDataAPIInitializeResult l_result = _eikonConnect.Initialize();

_eikonConnect.OnStatusChanged += EikonConnect_OnStatusChanged;


I tried to run VS and Eikon in admin mode, same error.

Can anyone help ?

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
Nipat Kunvutipongsak ♦♦ · Nov 20, 2017 at 11:09 PM 0
Share

Have you tried to collect the information from @jirapongse.phuriphanvichai's response yet? This information will be helpful to investigate the problem.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Nov 07, 2017 at 02:03 AM

You can use a Process Monitor tool to troubleshoot the problem.

In Process Monitor Filter, include your process name and then select "Show Registry Activity" and "Show System File Activity". After that, run the application.

Pay attention to the Result column, you should see the error there.

You can save all activities to a file and attach it in the response


promon.png (34.6 KiB)
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 >
8 People are following this question.

Related Questions

.NET examples for getting basis,contract month and last values

Does the Eikon .Net Desktop API work in non WPF applications?

.NET API - Realtime eligibility

.NET Time Series API date range

Getting list of all nasdaq/nyse stocks

  • 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