Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER while using environment variables

I have an SSIS package that uses parameterised connection managers that read the connection string from environment variables.Following is one of the connection string that I am using in the environment variable.

Data Source=JCODERPC;Initial Catalog=DevDestination;Integrated Security=True;Application Name=SSIS-TestParameterisedConnection-{04CFECB8-52A9-467C-9DFD-13BA9F8700C1}JCODERPC.Test;

But I am getting error while running the package.

Data Flow task:Error:SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.

enter image description here

Can anybody help me in solving this.

like image 805
Jyothish Bhaskaran Avatar asked Nov 16 '25 04:11

Jyothish Bhaskaran


1 Answers

Reading destination table name from a variable can throw this error, if the initial value of the variable is NULL or it contains an invalid table name.

You have to set DelayValidation to True on the tasks that use the connection.


Note: From the image you provided it looks like you have to change it for the DataFlow Task, just click on the DataFlow Task, press F4 to show the properties Tab, then change this property to True

like image 78
Tab Alleman Avatar answered Nov 18 '25 18:11

Tab Alleman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!