Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 要在SQL Server数据工具之外运行SSIS包,必须安装Integration Services标准版或更高版本_Sql Server_Ssis_Sql Server Data Tools_Sql Server 2017_Dtexec - Fatal编程技术网

Sql server 要在SQL Server数据工具之外运行SSIS包,必须安装Integration Services标准版或更高版本

Sql server 要在SQL Server数据工具之外运行SSIS包,必须安装Integration Services标准版或更高版本,sql-server,ssis,sql-server-data-tools,sql-server-2017,dtexec,Sql Server,Ssis,Sql Server Data Tools,Sql Server 2017,Dtexec,我试图从批处理文件运行SSIS包,但它抛出了一个错误 要在SQL Server数据工具之外运行SSIS包,必须安装Integration Services标准版或更高版本 但在VisualStudio中,我可以成功地执行。 批处理文件中的我的代码 set DtexecFileLoc=C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\Dtexec.exe ::@echo Batch File Loc: %BatFileLoc% @e

我试图从批处理文件运行SSIS包,但它抛出了一个错误

要在SQL Server数据工具之外运行SSIS包,必须安装Integration Services标准版或更高版本

但在VisualStudio中,我可以成功地执行。 批处理文件中的我的代码

set DtexecFileLoc=C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\Dtexec.exe

::@echo Batch File Loc: %BatFileLoc%
@echo SSIS Package Location: %SSISPkgLoc%
echo.

@echo Please enter the variable values for which you want to refresh DEV environment.
set /p EffDate=Enter the Month-End EffectiveDate in MM/DD/YYYY format:%=%


@echo SSIS Package is going to run for EffectiveDate '%EffDate%' . 
@echo If these variable values are not correct then close the window and re-run the batch file again.
@echo DO NOT CLOSE this window while the SSIS Package is running.
echo. 
pause 

"%DtexecFileLoc%" /File "%SSISPkgLoc%" /SET \Package.Variables[User::z_Dest_ServerName].Properties[Value];"%DestServer%" /SET \Package.Variables[User::Z_Dest_UserName].Properties[Value];"%DestUserName%" /SET \Package.Variables[User::Z_Dest_Password].Properties[Value];"%DestPassword%" /SET \Package.Variables[User::z_Email_Server].Properties[Value];"%EmailServer%" /SET \Package.Variables[User::z_Source_ServerName].Properties[Value];"%SourceServer%" /SET \Package.Variables[User::Z_Source_Username].Properties[Value];"%SourceUserName%" /SET \Package.Variables[User::Z_Source_Password].Properties[Value];"%SourcePassword%" /SET \Package.Variables[User::z_Email_Recipient].Properties[Value];"%EmailRecipient%" /SET \Package.Variables[User::y_EffectiveDate].Properties[Value];"%EffDate%"  > "%SSISLogLoc%"


@echo SSIS Package execution is now complete, you can now close this window.
echo. 
pause
这是我的环境配置

我尝试过为可执行文件切换不同的路径,但在我的情况下不起作用

Microsoft(R)SQL Server执行包实用程序版本14.0.3026.27 对于32位版权(C)2017 Microsoft。版权所有

错误:2019-12-11 15:47:30.29代码:0xC000F427来源:更新 ErrorList描述:在SQL Server之外运行SSIS包 数据工具必须安装Integration Services的标准版 或更高。端错误


要检查的内容:

  • 确保已从SQL Server安装中安装了SQL Server Integration Services(而不是SSDT)(确保已在功能列表中选中它)
  • 如果安装了SSIS,请确保Integration Services服务正在运行
  • 如果服务正在运行,请确保您创建的包的TargetServerVersion与安装的SQL Server版本匹配
有用链接


我怀疑有人认为这是某种软件安装,你我有什么版本的软件,有什么问题。我安装了VS2019社区和用于SSIS的VISX。当我dtexec一个有Excel目标的包时,我会在这个线程中得到错误消息。当我dtexec将ms sql表复制到平面文件的包时,它可以作为dtexec正常运行。在我看来,这是一个巨大的软件版本问题,每个dtexec都会出现这个错误。

这是否回答了你的问题?没有。我尝试过该解决方案,但它对我不起作用。我想可能是SSDT和Sql server集成服务之间的版本差异,但我不确定如何解决。您有Sql server集成服务(控制面板、管理工具、服务)吗在您的服务列表中列出?您的问题中没有任何地方表明您实际安装了Integration services标准版或更高版本。