Are you facing the below error in SQL Server and looking for a fix ?
Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005. SQLSTATE: 08001, Native Error: 17
Here’s a simple fix that worked for me.
Navigate to SQL Server Configuration Manager and then select SQL Server Network Configuration and then right click on TCP/IP and select enable.