用任务计划程序 管理 调度ssis的bat作业,提示错误 "DTS:Password" with error 0x8009000B 和 SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider is available. 可是双击执行bat是没有问
0
bat 调用语句是 :
for /f "tokens=1,2,3 delims=/ " %%d in ("%date%") do set currentdate=%%d%%e%%f
cd D:\Microsoft SQL Server(x86)\100\DTS\Binn
DTExec /file "d:\ETL_Implatform\SSIS\Coverage_Report\Coverage_Report\JJMC_BI_21.dtsx">d:\ETL_Implatform\SSIS\Log\JJMC_BI21_%currentdate%.log
log 报错内容如下:
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.
和
Code: 0xC00F9304
Source: JJMC_BI_21 Connection manager "City Tier"
Description: SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider is available.
ssis包配置如下:
请教高手是什么问题导致的,该如何解决,不甚感激
补充:第一次 bat 的脚本是没有带 x86 的,双击执行bat 报excel的错误,bat DTExec 路径改成了x86 ,双击bat 没有报错,
结果 bat 就报了如上的错误。
再次补充: 计划任务程序 调度ssis包,到了时间点 bat包没有被调用,在计划任务程序里面手动run 作业 是没有密码问题的报错, 管理员帮我加了一个 windows 域账号,密码的问题就付出水面了。。
for /f "tokens=1,2,3 delims=/ " %%d in ("%date%") do set currentdate=%%d%%e%%f
cd D:\Microsoft SQL Server(x86)\100\DTS\Binn
DTExec /file "d:\ETL_Implatform\SSIS\Coverage_Report\Coverage_Report\JJMC_BI_21.dtsx">d:\ETL_Implatform\SSIS\Log\JJMC_BI21_%currentdate%.log
log 报错内容如下:
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.
和
Code: 0xC00F9304
Source: JJMC_BI_21 Connection manager "City Tier"
Description: SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider is available.
ssis包配置如下:
请教高手是什么问题导致的,该如何解决,不甚感激
补充:第一次 bat 的脚本是没有带 x86 的,双击执行bat 报excel的错误,bat DTExec 路径改成了x86 ,双击bat 没有报错,
结果 bat 就报了如上的错误。
再次补充: 计划任务程序 调度ssis包,到了时间点 bat包没有被调用,在计划任务程序里面手动run 作业 是没有密码问题的报错, 管理员帮我加了一个 windows 域账号,密码的问题就付出水面了。。
没有找到相关结果
重要提示:提问者不能发表回复,可以通过评论与回答者沟通,沟通后可以通过编辑功能完善问题描述,以便后续其他人能够更容易理解问题.
1 个回复
BIWORK - 热衷于微软BI技术,技术架构和解决方案! 2015-09-28 回答
赞同来自:
你看看你的包的 ProtectionLevel 级别是不是 EncryptSensitiveWithUserKey,如果是这样的话你的 SQL Agent Job 运行身份是无法解析包中的敏感信息,你试一下把这个保护级别改成 DontSaveSensitive 再尝试一下。