Seriously, why in God's name is it SO HARD to connect to Excel!?!
Visual Studio 2019
Excel 365 64-bit
I added a Data Flow Task to my Control Flow
Added Excel Source to the Data Flow
Opened the Excel Source and clicked "New" to create a new connection manager.
Selected my Excel file (Noted that the Excel version changed from 97-2003 to 2007-2010 after I selected the file).
I selected Table or View for Data Access Mode and was greeted with the error:
`No Tables or Views could be loaded`
Could not retrieve the table information for the connection manager 'Excel Connection Manager'.
Failed to connect to the source using the connection manager 'Excel Connection Manager'
I went through and tried every version available and none would connect.
A quick search on SO shows that are about 10 BILLION questions on this and the fixes are anywhere from reverting to Windows 98, reinstalling VS, installing 32bit or 64bit Access Database drivers all the way to sacrificing your mouse to the PC Gods.
The purpose of this task is to import the excel file into my SQL database. If I use the SQL Import Wizard it works perfectly, and I actually saved it as a SSIS package and imported it into the package I'm working on now.
I've tried all the versions available in the connection manager, and I installed the 64bit Access Database Engine drivers (it won't allow me to install the 32bit since I have 64bit office installed). I tried changing the Run64BitRuntime option in the project properties.
Am I the only one who thinks it is absolutely ridiculous that this issue has been ongoing for more than 15 years and still isn't resolved?!