Article ID: 918038 - Last Review: April 28, 2006 - Revision: 1.1 You receive an error message when you try to load an SSIS package that contains a DateTime type variable in SQL Server 2005
Bug #: 428373 (SQLBUDT) On This PageSYMPTOMSConsider the following scenario. In Microsoft SQL Server 2005, you try to load a SQL Server Integration Services (SSIS) package. The SSIS package contains a DateTime type variable. You define the period (.) character or another user-defined character as the date separator in the Windows locale setting before you create the SSIS package. In this scenario, you receive an error message. Note The date separator in some locales uses the period (.) character by default, such as the German locale. Depending on how you load the SSIS package, you receive the following error messages. You try to modify the SSIS package in SQL Server Business Intelligence Development StudioWhen you try to modify the SSIS package in SQL Server Business Intelligence Development Studio, you receive the following error message:There were errors while the package was being loaded. The package might be corrupted. See the Error List for details. Microsoft Visual Studio is unable to load this document: 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::LoadFormXML fails. You execute the SSIS packageWhen you try to execute the SSIS package in the Execute Package Utility dialog box, you receive the following error message: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. Error: 2006-04-14 21:21:55.05 Code: 0xC0010018 Source: Description: Error loading value "<DTS:VariableValue xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:DataType="7">30.12.2000</DTS:VariableValue>" from node "DTS:VariableValue". End Error Error: 2006-04-14 21:21:55.10 Code: 0xC0010018 Source: Description: Error loading value "<DTS:Variable xmlns:DTS="www.microsoft.com/SqlServer/Dts"><DTS:Property DTS:Name="Expression"></DTS:Property><DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property><DTS:Property DTS:Name="Namespace">User</DTS:Property><DTS:Property DTS:Name="ReadOnl" from node "DTS:Variable". End Error Could not load package Path\PackageName.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. Source: CAUSEThis problem occurs because the value of the DateTime variable is saved in string format when you save the SSIS package. However, the string representation of the DateTime variable is based on the date format that is specified in the Windows locale. Therefore, when you try to load the SSIS package on a computer that has an incompatible locale date format, the operation fails. WORKAROUNDTo work around this problem, use one of the following methods. Method 1Manually update the DateTime type string in the SSIS package to use the slash (/) character as the date separator. To do this, follow these steps:Note If you store the SSIS package in the SSIS package store or in SQL Server, you can export the SSIS package to a file, update the DateTime type string in the package, and then import the package.
Method 2Update the date separator in the Windows locale setting to be identical to the date separator of variables in the SSIS package file. To do this, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. | Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top