【问题标题】:SSIS - Create Batch File to Run PackageSSIS - 创建批处理文件以运行包
【发布时间】:2017-03-20 20:25:34
【问题描述】:

*****Update*** 另外,我已经使用相同的数据库进行了测试。 (从一个表中提取到同一个数据库的另一个表中,并且成功了)

新错误:代码 0xc029303 来源:包连接管理器“Rpt” 说明:请求 OLEDB 提供程序 ORAOLEDB.1 未注册。如果未安装 64 位驱动程序,请在 32 位模式下运行包

可能与从 Oracle db 到 SQL db 的多个连接有关?

仅供参考:第一次创建批处理文件并尝试自动运行 SSIS 包

项目: 每天从一个数据库 (Oracle) 中提取数据(一张表)到 SQL Server,自动执行更新。

短期目标: 创建批处理文件并让文件执行 SSIS 包。 SSIS 包在 SSIS 中运行,没有任何警告或错误。

我已更改的属性:

  Max Error Count 10
Delay Validation = True
Force Exec Type = Int64
Run 64 BtRunTime = False

我已经创建了一个批处理文件,见下文

"C:\Program Files\Microsoft SQL Server\110   \DTS\Binn\DTExec.exe" /f  "C:\Users\J\Desktop\Si\Si\Package.dtsx"

从 CMD 我收到以下错误:

Code: 0xc0047017
Source: Data Flow Task SSIS.Pipeline
Description: RPT Vendor Data failed Validation and returned error code      0xc020801c
End Error
Progress: 2017-03-20
Source Data Flow Task
Validating: 50% complete
End Progress.
Error: 2017-03-20
Code: 0xc004700c
Source Data Flow Task SSIS.Pipeline
Description: One or more components failed validation
End Error
Error: 2017-03-20
Code:0xc0024107
Source Data Flow Task
Desc There were errors during task validation
End Error
DTExec: The pacakge execution returned DTSER_SUCCES <0>

【问题讨论】:

  • 是否有日志可供我查看更详细的错误摘要?

标签: batch-file ssis-2008


【解决方案1】:

我能够调整批处理文件以反映 32 位 (x86)。文件如下:

"C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe" /f "C:\Users\J\Desktop\lth\Package.dtsx"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-02-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多