I have created a package in Visual Studio called UpdateVehicles.dtsx. It runs fine if i set protection level to "don't save" or "use user key". However I need to use "EncryptSensitiveWithPassword". But when I do, if I run it used DTEXEC, I get this:
C:\Workbench\DeiselFuelSystem\DFS_Update\DFS_UpdateData\DFS_UpdateData>dtexec /f updatevehicles.dtsx /de abc1234 Microsoft (R) SQL Server Execute Package Utility Version 13.0.1601.5 for 32-bit Copyright (C) 2016 Microsoft. All rights reserved. Started: 5:09:11 PM Error: 2017-06-08 17:09:11.22 Code: 0xC0010018 Source: UpdateVehicles Description: Error loading value "<DTS:ConnectionManagers xmlns:DTS="www.microsoft.com/SqlServer/Dts"><DTS:ConnectionManager DTS:refId="Package.ConnectionManagers[DestinationConnectionOLEDB]" DTS:CreationName="OLEDB" DTS:DTSID="{4FDA59EE-19FE-49A5-8022-CFE3B74AECC8}" DTS:ObjectName="Destin" from node "DTS:ConnectionManagers". End Error Could not load package "updatevehicles.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: UpdateVehicles Started: 5:09:11 PM Finished: 5:09:11 PM Elapsed: 0.062 seconds
For one thing if you look in the error it refers to " ObjectName="Destin" " however no such object exists anywhere.
- Help