问题
Is there any other way rather than "Excel connection manager" to connect Excel as Source in SSIS.
I am asking this question because I have an issue with connecting Excel with "Excel Connection Manager" because in my system Excel 32 bit is installed and the Visual Studio version is 64 bit.
I tried connecting it with ODBC but wasn't successful.
回答1:
There is not Visual Studio 64-bit version, I think you should change the Run64BitRuntime
Property to False
:
- FAQ - How to run SSIS Packages using 32-bit drivers on 64-bit machine
- SSIS run64bitruntime on 64 bit
回答2:
Install both AccessDatabaseEngine 32bit and 64bit
If you need to install AccessDataBaseEngine x64 alongside with 32-bit installation, you need to run the installation in passive mode:
Passive mode installation steps
- Open the Command Prompt by typing
cmd
in the Windows search box under the Start menu and selecting cmd.exe - Type the file path and file name of the 64-bit Access Database Engine 2010 install file, followed by a space and
/passive
(this runs the installation without showing any error messages). - Open the Registry Editor by typing
regedit
in the Windows search box under the Start menu and selectingregedit.exe
Delete or rename the
mso.dll
registry value in the following registry key:"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths"
More details and screenshots are found in the link below
Reference
- How to install 64-bit Microsoft Database Drivers alongside 32-bit Microsoft Office
来源:https://stackoverflow.com/questions/57107255/how-to-connect-excel-source-via-oledb-or-any-other-source-in-ssis