简体   繁体   English

在较新的 SQL 版本上执行旧版 SSIS 包

[英]Execute legacy SSIS packages on newer SQL version

I have a few SSIS packages, developed in SQL Server 2008. Those packages have ActiveX Script Task.我有几个 SSIS 包,是在 SQL Server 2008 中开发的。这些包有 ActiveX 脚本任务。 When I try to open those packages in VS 2017, it throws an error, saying ActiveX task is deprecated.当我尝试在 VS 2017 中打开这些包时,它会抛出一个错误,提示 ActiveX 任务已弃用。 Converting those task to Script Task would be really time consuming.将这些任务转换为脚本任务真的很耗时。

Is there a way to execute those packages in SQL Server Agent?有没有办法在 SQL 服务器代理中执行这些包? We use SQL Server 2016 Standard edition.我们使用 SQL Server 2016 标准版。

I tried executing from the file system, but it also throws an error:我尝试从文件系统执行,但它也抛出一个错误:

The "Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask.ActiveXScriptTask, Microsoft.SqlServer.ActiveXScriptTask, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" task has been deprecated and cannot be used with this version of Integration Services. “Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask.ActiveXScriptTask, Microsoft.SqlServer.ActiveXScriptTask, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”任务已弃用,不能与此版本的 Integration Services 一起使用。

I don't really need for now to upgrade those packages, I can still use Business Intelligence 2008 to maintain them.我现在真的不需要升级这些包,我仍然可以使用 Business Intelligence 2008 来维护它们。 I just need them to run on the SQL Server 2016 instance.我只需要它们在 SQL Server 2016 实例上运行。

Thanks for your time and help感谢您的时间和帮助

Sadly, SQL Server is telling you the answer in the error message quite simply.遗憾的是,SQL 服务器在错误消息中非常简单地告诉您答案。

It is Deprecated and cannot be used.它已被弃用,不能使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM