Code: 0xC001700A Source: Description: The version number in the package is not valid. The version number cannot be greater than current version number. End Error
Error: 2017-03-13 12:33:26.74 Code: 0xC0016020 Source:
Description: Package migration from version 8 to version 3 failed with error 0xC001700A "The version number in the package is not valid. The version number cannot be greater than current version number.". End Error Description: Error loading value " S:Name="PackageFormatVersion">8" from node "DTS:Property". End ErrorCould not load package "C:\Users\USER\Documents\Visual Studio 2015\Projects\Email\Email\bin\Deployment\ScriptSO.dtsx" because of error 0xC0010014. Description: 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.". This occurs when CPackage::LoadFromXML fails.
我创建了一个 ssis 包,并且能够在其中创建 Excel 格式的报告并通过电子邮件发送。当我执行 dtexec/f "filepath\filename.dtsx"时收到此错误。请帮助我。
我使用的是 Visual Studio 2015、Sql server Data Tools for VS 2015、SQL Server 2008 R2
最佳答案
问题在于您正在创建一个针对 2008 R2 之后的 SQL Server 版本的包,并且无法将其部署到 2008 R2。从声音来看,您的包目标是 SQL Server 2014,因为提到了版本号 8。此博客https://sqlstudies.com/2015/04/27/what-sql-version-is-my-ssis-package/列出版本号,并显示版本 3 为 2008 R2。
据我所知,您唯一的选择是重新使用 Visual Studio 的早期版本(我在为 SQL Server 2008 R2 创建/编辑包时使用 Visual Studio 2008)。
在最新版本的SSDT中创建包时,您可以选择以哪个版本的SQL Server为目标,但我相信您只能回到SQL Server 2012。本文有更多信息https://www.mssqltips.com/sqlservertip/4253/backwards-compatibility-in-sql-server-data-tools-for-integration-services/
关于ssis - 你能建议如何解决这个问题吗?基本上我不明白这个错误来修复它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42757251/