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 ?