Hi,
I am trying to fetch 10 table data from 10 tenant database dynamically. I have Used ForeEach Loop Container to iterate each database one by one and dump to destination table.
Please find below screeshot for package
I have created a variable "Database Name", "Server Name", "UserName", "Password" and set the value. In execute script I have fetch all the tenant database name. In "Database Name" variable i have set default db. Here my package run successfully 1st time but 2nd time in foreach loop container it fails and give error
"[OLE DB Source [93]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Dabasename" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed."
I read many thread saying Set DelayValidation to True in Data Flow Package level. I did that too. Also created a new connection by deleting old one. Still getting this error. Is there any other way to short out this issue?