2017-09-04 52 views
0

当我从此存储过程启动脚本时,它在第一个脚本任务上失败。SSIS仅在start_execution上才找到“二进制代码或脚本”

EXEC SSISDB.catalog.start_execution @execution_id

我有以下错误:

The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.

我已经这样做了多次无果后,我有一种感觉,这个问题必须在其他地方,因为当我从整合启动它服务目录它的工作原理。

我在本地开发计算机上使用SQL 2012和服务器上的SQL 2016。

+0

可能出现[在哪里可以找到SQL Server 2008中脚本任务的SSIS预编译属性?](https://stackoverflow.com/questions/16329138/where-can-i-find-the-ssis-precompile -property-for-script-tasks-in-sql-server-200) – DhruvJoshi

+0

可能有些东西需要挖掘,我在计算机上使用SQL 2012,并且SERVER上有SQL2016 – Korangar

回答

0

错误消息是误导性的。

我在使用VS2012在SQL2016上开发和部署,当你这样做脚本组件不会工作。

我用VS2015和升级包到SQL2016,它的工作。