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

Azure: How to set up a connection to an excel file in azure blob storage from SSIS?

$
0
0

Dear All,

I need to load data from an excel file to azure sql. I was able to load data from local file path to azure sql db. But, I need to read excel file from azure blob storage. My SSIS package is basically using a script task inside a for each loop container. For some specific requirement  I need to go with script task to read excel file. I have used Azure blob enumerator in the for each loop collection. Also, set up a connection manager to azure blob storage. The result of the file path is stored in a variable in the for each loop, then making use of that inside the script task. But, i'm not getting the full path in the variable which I used for storing the file details. It only brings the path from the storage container. So, I have included the beginning part of the file blob storage path in a separate parameter and combining these two together to get the full path inside the script task. This part works fine. But, after that I'm setting a connection string for excel, there it fails. I'm not sure whether the connection string has some issues when trying to connect azure storage. Please suggest.

I have referred the site given below for set up.

http://gopika-lasitha.blogspot.com/2018/01/configuring-ssis-foreach-loop-container.html

Thank You

Julie



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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