SSIS Excel 文件问题 - 创建文件失败

SSIS Excel File issue - Failure creating file

我有 SSIS 包,它抓取 excel 文件并将其加载到 sql table。当我 运行 它时,我得到以下错误。我试图将 64 位上的 运行 设置为 false。那没有用

我也安装了 64 位访问驱动程序 engin。这也没有帮助。

Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.

Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.

Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.

Error at Data Flow Task: There were errors during task validation.

Error at ABC [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Failure creating file.".

Failure creating file

当 Excel 连接管理器无法访问所选路径时抛出此错误,可能是由于:

  • 您正在使用网络路径/尝试用本地路径替换
  • 它可能指向您的本地服务器,但是当它部署到另一台服务器时会抛出错误
  • 您无权从 运行 SSIS
  • 帐户访问所选路径
  • 路径不存在

我有同样的错误,为了修复它,我指定了共享文件夹的 IP 而不是 FQDN。