Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

dtsConfig and DTS_E_CANNOTACQUIRECONNECTIONFROMCO.MANAGER

$
0
0

Hello,

I have an error on my SSIS package (.dtsx) since I enabled "Enable Package configuration" and then created a XML .dtsConfig.

In my SSIS package, there is in Connection Manager containing an SQL Connection authentication (with user & password -not a windows auth-), and it is what is failing:

ERROR: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection call to the connection manager "server\instance.databaseName.username" failed with error code 0xC0202(...)

Error: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.

When I do not check "Enable Package Configuration", I can run the package with 0 problem with this connection.

I am so lost :( Thank you VERY MUCH for your help in advance.

MORE INFO: My .dtsConfig is a XML file. I added the value in "Password" value like this:

<?xml version="1.0"?><DTSConfiguration><DTSConfigurationHeading><DTSConfigurationFileInfo GeneratedBy="domain\user" GeneratedFromPackageName="DATATransfert" GeneratedFromPackageID="{35196F1F-A1D1-4691-830B-3BE5D77DA2DB}" GeneratedDate="05/12/2012 16:57:12"/></DTSConfigurationHeading><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ConnectionString]" ValueType="String"><ConfiguredValue>Data Source=server\instance;User ID=userName;Initial Catalog=databaseName;Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;Application Name=SSIS-DATATransfert-{4F77124D-9880-4A1C-841D-433EC71E65BC}server\instance.databaseName.userName;</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Description]" ValueType="String"><ConfiguredValue></ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[InitialCatalog]" ValueType="String"><ConfiguredValue>databaseName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Name]" ValueType="String"><ConfiguredValue>server\instance.databaseName.userName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Password]" ValueType="String"><ConfiguredValue>MYUSERPASSWORD</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ProtectionLevel]" ValueType="Int32"><ConfiguredValue>1</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[RetainSameConnection]" ValueType="Boolean"><ConfiguredValue>0</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ServerName]" ValueType="String"><ConfiguredValue>server\instance</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[UserName]" ValueType="String"><ConfiguredValue>userName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Properties[PackagePassword]" ValueType="String"><ConfiguredValue>MYPACKAGEPASSWORD</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Properties[ProtectionLevel]" ValueType="Int32"><ConfiguredValue>2</ConfiguredValue></Configuration></DTSConfiguration>



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>