【问题标题】:SSIS "The binary code for the script is not found" on script task脚本任务上的SSIS“找不到脚本的二进制代码”
【发布时间】:2017-08-09 08:05:42
【问题描述】:

我发现很多人都有这个问题,我也是。 我正在使用 Visual Studio 2015 SSDT 2014 和 SQL Server 2014。 我创建了一个包含脚本任务的包,在脚本任务中我使用了对 SOAP API 的 Web 引用。

当我从我的设计环境 (Visual Studio) 中运行该包时,该包会成功执行。当我将包部署到集成服务目录时,出现以下错误: "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."

我知道从 SSDT 2012 及更高版本开始,“预编译二进制”选项设置为 true。

我错过了什么?

任何帮助将不胜感激。

【问题讨论】:

    标签: c# visual-studio ssis script-task


    【解决方案1】:

    尝试添加服务参考,而不是网络参考?

    • 保留网络引用生成的代理类的备份
    • 删除网络参考
    • 添加相同的服务作为服务参考
    • 用步骤 1 中的备份替换新生成的代理类

    【讨论】:

    • 我做了除了代理类的那些。我不知道那是什么
    • 你能不能跳过代理类的事情,用服务参考试试。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-15
    • 1970-01-01
    • 1970-01-01
    • 2015-11-22
    相关资源
    最近更新 更多