N
Nitin Ambupe
Guest
I have a windows service based on ATL service (CAtlServiceModule). This service provides an interface for client applications to interact with the service. I have installed this service using "/Service" command as an administrator. Service gets installed successfully and works normally. But, when I try to create an instance of an interface from C# managed application, it throws "HRESULT - 0x80080005 - CO_E_SERVER_EXEC_FAILURE" and states "Additional information: Retrieving the COM class factory for component with CLSID failed due to following error:80080005 Server execution failed".
When I do not install this component as a windows service and just register it using "/RegServer", then it works without any problems.
Environment : Visual Studio 2010 (ATL Project Service (EXE)).
Operating System : Windows 10 Home 64 bit.
Configuration : i7-7th Gen, 16 GB RAM and 1 TB HDD.
Continue reading...
When I do not install this component as a windows service and just register it using "/RegServer", then it works without any problems.
Environment : Visual Studio 2010 (ATL Project Service (EXE)).
Operating System : Windows 10 Home 64 bit.
Configuration : i7-7th Gen, 16 GB RAM and 1 TB HDD.
Continue reading...