简体   繁体   English

SQL作业sql ssis作业错误:“由于错误0xC0010014,包无法加载,当CPackage :: LoadFROMXML失败时会发生

[英]SQL Job sql ssis job ERROR: "the package failed to load due to error 0xC0010014 this occurs when CPackage::LoadFROMXML fails

I created a SSIS Project in SQL Server Data Tools for Visual Studio 2013 now I tried to deploy it as an sql job in sql server 2008. I move the .dstx file and .dtsConfig to another folder. 我在Visual Studio 2013的SQL Server数据工具中创建了一个SSIS项目,现在我尝试将其作为sql作业部署在sql server 2008中。我将.dstx文件和.dtsConfig移到另一个文件夹中。

After selecting the file in the server this error message pops up. 在服务器中选择文件后,将弹出此错误消息。

The package failed to load due to: 由于以下原因,无法加载软件包:

error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". 错误0xC0010014“发生一个或多个错误。在此错误之前,应该有更具体的错误来解释错误的详细信息。此消息用作遇到错误的函数的返回值。”。 This occurs when CPackage::LoadFromXM fails. 当CPackage :: LoadFromXM失败时,会发生这种情况。

I tried setting the Run64BitRuntime to 'false' but also failed. 我尝试将Run64BitRuntime设置为“ false”,但也失败了。 Because after I close and re-open the project it reverts to true again. 因为在我关闭并重新打开项目后,它又恢复为true。 I can't find any solution that solves this problems. 我找不到解决此问题的任何解决方案。

You cannot deploy Sql Server 2008 jobs using Visual Studio 2013 Data Tools, you have to use Business Intelligence Development Studio from SQL Server 2008 您不能使用Visual Studio 2013数据工具部署Sql Server 2008作业,而必须使用SQL Server 2008中的Business Intelligence Development Studio

Visual studio 2013 SSDT work with SQL Server 2014. Visual Studio 2013 SSDT可与SQL Server 2014一起使用。

Target version of SQL Server    |   Development environment for SSIS packages
2016    |   SQL Server Data Tools for Visual Studio 2015
2014    |   SQL Server Data Tools for Visual Studio 2015 or SQL Server Data Tools - Business Intelligence for Visual Studio 2013
2012    |   SQL Server Data Tools for Visual Studio 2015 or SQL Server Data Tools - Business Intelligence for Visual Studio 2012
2008    |   Business Intelligence Development Studio from SQL Server 2008

The following link contains very helpful informations: 以下链接包含非常有用的信息:

For SQL Server 2008 /R2 editions 对于SQL Server 2008 / R2版本

You have to install Microsoft Visual Studio 2008 to deploy package for SQL Server 2008 or SQL Server 2008 R2 by default. 默认情况下,您必须安装Microsoft Visual Studio 2008才能为SQL Server 2008或SQL Server 2008 R2部署程序包。 (newer versions will not work correctly) (较新的版本将无法正常工作)

There are a lot of links saying that newer versions of visual studio cannot deploy SSIS 2008 packages correctly: 有很多链接说,较新版本的Visual Studio无法正确部署SSIS 2008程序包:

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

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