Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The connection manager will not acquire a connection because the connection manager OfflineMode property is set to TRUE

Tags:

ssis

When I open my existing SSIS project in design view I get the following error:

The connection manager will not acquire a connection because the connection manager OfflineMode property is set to TRUE

Meanwhile the OfflineMode is set to false. Can anyone tell me why am I getting this error?

DelayValidation property of the connection is set to false and if I set it to true, the error goes away. But I just wanted to figure out why is this happening. I am not setting connection dynamically and last time I used the project, there were no errors and it ran while DelayValidation was set to false. What has changed?

like image 331
Coding Duchess Avatar asked Sep 21 '15 17:09

Coding Duchess


3 Answers

Right-clicking on the Connection Managers area of SSIS Designer and then clicking.

Work Offline.

orenter image description here

like image 68
sandeep rawat Avatar answered Sep 30 '22 00:09

sandeep rawat


This didn't work for me because I was using a connection string expressions. Clearing the 'work offline' check would temporarily appear to work, but then it would suddenly recheck. This was frustrating to say the least.

Once I edited the connection string to place the provider in the correct place (see image for what worked for me) then it stopped toggling the 'offline' mode on because it could connect to the DB. enter image description here

like image 23
Tom McDonald Avatar answered Sep 30 '22 01:09

Tom McDonald


Please create a variable for data source of the connection manager and apply to the connectionString Expression.

like image 24
Suzan Cha Avatar answered Sep 30 '22 01:09

Suzan Cha