Also inteop don't work when I diploy the package, and it's not permission problem, the sql agent have permission to the folder and excel file. Is there a way without code?
@harimsbi17285 ай бұрын
Is it allow to read excel files from ssis package like space values present in Excel Sheet Name like (Annual Report)
@learnssis5 ай бұрын
Yes those are totally fine.
@kristy.rlopez Жыл бұрын
Thank you so much for sharing this tutorial! Everything ran well but I was prompted with a window if I wanted to save changes to each file each time it was processed. How can we prevent this from happening or to automate the respond to "Yes"?
@learnssis Жыл бұрын
Did you checked at which task the popup is coming ? Can you put a breakpoint on data flow task and run the package and see at which task the popup is coming ?
@danialilyasak3941 Жыл бұрын
Hi, I try to search reference Micorsoft excel object library but there is no item found.
@learnssis Жыл бұрын
As per this url they are saying that you would need to install Office stackoverflow.com/questions/58528300/visual-studio-cant-find-reference-microsoft-excel-object-library
@soumyabhat98412 жыл бұрын
could not find Microsoft Excel 16.0 object library in references part of Script task
@learnssis2 жыл бұрын
You would need to install the Office to have this library social.msdn.microsoft.com/Forums/azure/en-US/3dd233f9-8d26-44af-854b-cdbb86897637/how-to-download-the-microsoft-excel-160-object-library?forum=visualstudiogeneral
@soumyabhat98412 жыл бұрын
after doing all the steps still its not working
@pns4441 Жыл бұрын
what if there are multiple sheets in the excel file and I would like to import all the sheets ?
@learnssis Жыл бұрын
I have created 2 videos on importing data from multiple excel sheets. Maybe you can take a look at them. kzbin.info/www/bejne/j4jUgGyBe7mEedE kzbin.info/www/bejne/eX7So2asjpyMY6c
@pns4441 Жыл бұрын
@@learnssis Thank you very much.
@pallavikrishna75912 ай бұрын
Thank you very much for sharing this content!!! Really helped me
@learnssis2 ай бұрын
Glad it helped you. You are welcome.
@kanikeveeresh44482 жыл бұрын
Good morning sir. Your explanation is very nice but I don't about c# code then how can I do it without script task in ssis.
@kanikeveeresh60292 жыл бұрын
i don't know about C#
@learnssis2 жыл бұрын
@@kanikeveeresh6029 You don't need to write any new code in the C#, the code is already written, just copy and paste it inside your existing package and it will work.
@blackisblack222 жыл бұрын
What if destination table depends on Sheet name? For example, we have A to E tables with different structures, one Excel file with tabs [A, C,D] and another [A,B,E]. How could we send data to the right table dynamically?
@learnssis2 жыл бұрын
Yes we can do that one as well, check this video kzbin.info/www/bejne/j4jUgGyBe7mEedE
@blackisblack222 жыл бұрын
@@learnssis Thank you, I really appreciate what you do for us with your videos.
@learnssis2 жыл бұрын
@@blackisblack22 No problem.
@backgrounding48217 ай бұрын
Hello, how about multiple excel files and all of them have the same Sheet's Name?
@learnssis7 ай бұрын
You can watch this video for that kzbin.info/www/bejne/inmcoad3oKh7hKM
@backgrounding48217 ай бұрын
@@learnssis Thank you very much! much appreciated for fast reply. (Y)
@Stan-tb1qz Жыл бұрын
Hi this video is amazing! But what if the excel file is a csv? I followed all steps until the part of making sheet name dynamic in excel source because I have a flat file source...
@Stan-tb1qz Жыл бұрын
Actually no need, this process also worked for CSV, my FilePath variable was using an expression
@learnssis Жыл бұрын
@@Stan-tb1qz Glad it worked for you.
@Stan-tb1qz Жыл бұрын
@@learnssis Actually a new problem. Your video works when I run the package locally. However it fails when sql server agent job runs the package. I get following error Source: Script Task - Assign sheetname to local variable Description: Exception has been thrown by the target of an invocation. I am on SQL Server 2016
@Stan-tb1qz Жыл бұрын
More info: In the same package I have another script task that sends out an email when the package fails, and a file system task to archive files from source folder to archive folder. The sql server agent job is able to run these tasks without issue. This leads me to beleive it is not a permission issue because the job schedule can move files and send emails, but can not edit file?
@learnssis Жыл бұрын
@@Stan-tb1qz add error handling to the script task so that you know at which line the code is failing. kzbin.info/www/bejne/qGiqo2anbt-LkLM You can also install the drivers needed for Excel kzbin.info?event=comments&redir_token=QUFFLUhqbndCY2hibEduSVBXdEhYNU1mMTA4ZGpheHdld3xBQ3Jtc0ttXzV2WTVPWXJrejFEZnp1ZHhZTW4zek50bjlRVV83ZzJhXzd1cjlQcmdpNGgyejAzZkt6OHB5ZkpsRDM4X0NyeGRMQnFUT2VWN0NtSkpDcGNqa0o4R0ZsNUZKbVladGNmcmhBUzZjQXU3ZlRUTzh4TQ&q=https%3A%2F%2Fwww.microsoft.com%2Fen-za%2Fdownload%2Fdetails.aspx%3Fid%3D13255&stzid=UgysARviHoG8yY3UVKx4AaABAg.9DU3XMPJqTU9DXqeLXIYCW
@yonisupersaiyanyoni3693 Жыл бұрын
How to do it without code?
@learnssis Жыл бұрын
Can you check this video if it can help ? kzbin.info/www/bejne/j4jUgGyBe7mEedE
@yonisupersaiyanyoni3693 Жыл бұрын
Can't you say take first sheet?
@OleYoule Жыл бұрын
Nothing can work without $ Bro) Thanks for useful video tutorial 👍
@learnssis Жыл бұрын
You are most welcome.
@soumyabhat98412 жыл бұрын
how to add Microsoft Excel 16.0 object library
@learnssis2 жыл бұрын
You would need to install MS Office to get access of this library social.msdn.microsoft.com/Forums/azure/en-US/3dd233f9-8d26-44af-854b-cdbb86897637/how-to-download-the-microsoft-excel-160-object-library?forum=visualstudiogeneral
@soumyabhat98412 жыл бұрын
Please do reply..
@soumyabhat98412 жыл бұрын
[Excel Source [2]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. [Excel Source [2]] Error: Opening a rowset for "a1_BK26_RFBILA00_2020$" failed. Check that the object exists in the database. [SSIS.Pipeline] Error: "Excel Source" failed validation and returned validation status "VS_ISBROKEN". The first file rund properly....a1_BK26_RFBILA00_2020$ but the second fine sheet name is a2_BK26_RFBILA00_2020 for this getting above error