[visual-studio] Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging

I had this problem because I tried to open the SSIS Projects and test Attunity Driver for Oracle from SSDT 2013 (TFS) in SSDT 2017. In a new SSIS Project would the Attunity Driver work fine but in upgraded SSIS Project it would show the error when i try to test connection. The solution is to fix the old Project.