首页 文章

SSIS - 创建批处理文件以运行包

提问于
浏览
0

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

新错误:代码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>

1 回答

  • 0

    我能够调整批处理文件以重新选择32位(x86) . 文件如下:

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

相关问题