Reputation: 831
I was able to complete my task with out any problem if excel file is open
If Excel file is open then no error import task works perfectly.
If Excel file is closed, i get below error
Failed to acquire connection "Excel Connection Manager 4". Connection may not be configured correctly or you may not have the right permissions on this connection.
Any thoughts on how to handle
Upvotes: 0
Views: 2643
Reputation: 453
Try to specify these extra parameters in your Excel connection string:
Mode=Read; ReadOnly=True
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=filename; Extended Properties="EXCEL 8.0;HDR=YES; Mode=Read; ReadOnly =True;"
and try this also :
It sounds like there is an Excel connection string in your package which is not valid for some reason. Try:
Upvotes: 1