如何从cmd提示符或powershell运行SSIS包及其依赖项

发布于 2025-01-12 15:34:16 字数 494 浏览 3 评论 0原文

我安装了 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 higher

There 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿港巷口少年归 2025-01-19 15:34:16

有人可以帮助我如何在命令提示符或 powershell 中执行 SSIS pacakge 以及需要哪些组件或安装吗?

错误信息告诉你了

要在 SQL Server 数据工具之外运行 SSIS 包,您必须
安装集成服务标准版或更高版本

Visual Studio 仅支持 SSIS 包的开发和交互式执行。从命令提示符运行包需要 SQL Server Integration Services 的许可安装。

Can someone help me how to execute the SSIS pacakge in command prompt or powershell and what are the components or installation required?

The error message told you

To Run a SSIS Package outside of SQL Server Data tools you must
install Standard edition of Integration Services or higher

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文