SSIS连接Excel文件时无法加载表或视图的问题求助
SSIS连接Excel数据源加载表失败问题
环境
- Visual Studio 2019
- Excel 365 64-bit
- Excel文件仅包含单个名为
raw_products的工作表
操作步骤
- 在控制流中添加Data Flow Task
- 在数据流中添加Excel Source
- 打开Excel Source后点击「New」创建新连接管理器,选择目标Excel文件后,Excel版本自动从97-2003切换为2007-2010
- 选择「Table or View」作为数据访问模式时,出现如下错误:
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'
已尝试的解决操作
- 切换连接管理器的所有可用Excel版本
- 安装64位Access Database Engine驱动(因64位Office无法安装32位驱动)
- 修改项目属性的
Run64BitRuntime选项 - 卸载重装VS2019及Integration Services(耗时近8小时),多次重启系统
补充信息
需求为将Excel文件导入SQL数据库,使用SQL导入向导可正常完成操作,且已将生成的SSIS包导入当前项目,但问题仍存在,无法加载表或视图。
内容的提问来源于stack exchange,提问作者Dizzy49
相关产品推荐
相关产品推荐

