如何从cmd提示符或powershell运行SSIS包及其依赖项
我安装了 Visual studio 2017 和数据工具。我可以从 Visual Studio 打开 dtsx 包并执行(都通过运行按钮并右键单击解决方案资源管理器中的文件并单击执行)。
现在我想自动执行包和计划。因此,我尝试首先通过命令提示符使用 DTExec.exe 运行此包,但出现很多错误
,即
要在 SQL Server 数据工具之外运行 SSIS 包,您必须 安装集成服务标准版或更高版本
从以下位置加载脚本任务时出现异常 xml.System.IO.FileNotFoundException。无法加载文件名 “Microsoft.visualStudio.tools.Application”,版本=14.0.0.0,
有人可以帮助我如何在命令提示符或powershell中执行SSIS包以及需要哪些组件或安装吗?
Visual Studio 如何在没有任何额外操作的情况下执行我可以通过命令提示符执行相同的操作吗?
I have Visual studio 2017 installed with Data tools. I'm able to opend dtsx package from visual studio and execute (Both from run button and right click the file from solution explorer and click execute).
Now I want to automate the execution of package and scheduled. So I tried to run this package using DTExec.exe via command prompt first but getting lot of errors
i.e.
To Run a SSIS Package outside of SQL Server Data tools you must
install Standard edition of Integration Services or higherThere was an exception while loading script task from
xml.System.IO.FileNotFoundException. Could not load filename
"Microsoft.visualStudio.tools.Application", version=14.0.0.0,
Can someone help me how to execute the SSIS pacakge in command prompt or powershell and what are the components or installation required?
How does the visual studio executes without any additional thing can I do the same thing via command prompt?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
错误信息告诉你了
Visual Studio 仅支持 SSIS 包的开发和交互式执行。从命令提示符运行包需要 SQL Server Integration Services 的许可安装。
The error message told you
Visual Studio only enables development and interactive execution of SSIS package. Running packages from the command prompt requires a licensed installation of SQL Server Integration Services.