在 SQL 2014 上运行 SSIS 包 [英] Running SSIS package on SQL 2014
问题描述
我使用在 SQL 2005 中创建的 SSIS 包在 SQL2014 中创建了一个新的 sql 作业.作业因以下错误而失败:
I created a new sql job in SQL2014 with an SSIS package created in SQL 2005. The job is failing with this error:
来源:准备压缩数据 准备压缩数据说明:从 XML 加载脚本任务时出现异常:System.IO.FileNotFoundException:无法加载文件或程序集Microsoft.VisualStudio.Tools.Applications.Core,版本"=10.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' 或其依赖项之一.该系统找不到指定的文件.文件名:Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.b__1a() 的 Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine 中的Microsoft.VisualStudio.Tools.Applications.Core,版本=10.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a".DisposeVstaHelper() 在 Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.MigrateVSAScriptTask(XmlElement elemProj, IDTSInfoEvents events) 在 Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events)
Source: Ready data to zip Ready data to zip Description: There was an exception while loading Script Task from XML: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.b__1a() at Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine.DisposeVstaHelper() at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.MigrateVSAScriptTask(XmlElement elemProj, IDTSInfoEvents events) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events)
你能解释一下错误吗?我想我丢失了一些文件.
Can you please explain the error? I think I'm missing some files.
推荐答案
这是一个远景,但您可能正在尝试运行 32 位版本的 DTExec.默认情况下,它不会安装在 64 位计算机上,除非您安装客户端组件 - 这可能意味着您的安装不完整.
This is a longshot, but you may be attempting to run the 32-bit version of DTExec. By default, it's not installed on a 64-bit machine unless you install the client components - which may mean you have an incomplete installation.
这篇关于在 SQL 2014 上运行 SSIS 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!