Loop through .xls, .doc, & .txt in one folder. Copy to 3 different folders.
Here's my setup.I've got the script like this: public void Main() { // TODO: Add your code here if (System.IO.Path.GetExtension(Dts.Variables["strSourceFile"].Value.ToString()) == ".xls") {...
View ArticleError in SSIS Package in SQL Server 2008 R2
Dear All,I am getting below error in SSIS Package. [OLE DB Destination [31]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is...
View ArticleException unauthorized access (401) when trying to copy files from a secured...
Hi, I am trying to download files located on a webserver via Script component in SSIS. Currently we are accessing that folder via browser (https), however when trying to download the file via SSIS I...
View ArticleT-SQL MERGEJOIN IN SSIS
Hi Guys,How to implement t-sql merge join type 2 scd in SSIS?Regards,NavinNavin.D http://dnavin.wordpress.com
View Articlecheckpoint in for each loop container
in my package for each container is reading 10 files and afterwards doing some script task. on 6th file the script task fails. i have implemented checkpoints but time when i re run the package it...
View ArticleGlobal Temp Table Not found - SSIS
I am facing below error while using global temp table in SSIS.[OLE DB Destination [78]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37. An OLE DB record...
View ArticleSSIS OLE DB Command parameter
Below is the OLE DB Command transformation SQL command. All I am doing is checking variable value and updating the IsRegistered column on tablePerson(when 0 or null, updating to 1, otherwise updating...
View ArticleSSIS Project question
A new SQL Server Integration Services (SSIS) project is deployed to the SSIS catalog. To troubleshoot some data issues, you must output the data streaming through several data flows into text files for...
View ArticleDtexec Code 0xC202009 Description SSIS Error code DTS_E_OLEDBERROR code...
SQL Server 2012, W2008 Server SP2.Importing Excel file into SQL Server tablesAny ideas??
View ArticleIs it possible to Deploy a SSIS package to catalog with a Sql Server Identity...
Hi,how can I deploy a SSIS package with a SQL SERVER identity to the catalog in SQL Server 2012 programmly?I tried to use the [SSISDB].[catalog].[deploy_project], but the error said that it could only...
View ArticleSSIS OLE DB Source editor does not load all the access database tables
Hi,I have access database where I have couple of hundred tables and I am trying to import all the tables to SQL server using SSIS but in OLEDB source editor it's showing only 7 to 8 tables instead all...
View Articlesql 2008 r2 dtexec crashes intermittently when executing SSIS package - more...
We have a customer where our SQL Agent jobs run SSIS packages every hour at 40 minutes past the hour. When our steps were configured to run with 64-bit dtexec the jobs failed 30-40% of the time they...
View ArticleSSIS "XML Source Adapter" can't make XSD location an expression
I am using the "XML Source Adapter" in an SSIS package.I notice that although you can specify the XML filename as an expression, the XSD appears to have to be a fixed file path.This is a problem for me...
View ArticleDownload XMl file from SFTP: performance issue
Hi All,I am downloading an XML file of size almost 15-20 MB from an SFTP using winSCP.A C# code is written in SSIS script component which loops the remote directory to find the recent file then it...
View ArticleMove dynamic file task in SSIS
I want to copy the dynamic files end of every month from one location to another.File format : \\test\data\<databasename>_<backup>_<year>_<month>_<day>_<system...
View ArticleUnable to remove double quotes (" " ) from text file Source
hi,i have a txt file as below "xxx","111111","SMTP:xxx@abc.com" "yyy","222222","SMTP:yyy@abc.com" "zzz","333333","SMTP:zzz@abc.com" In the Flatfile conn Mgr, i specified the coclumn delimiter as comma...
View ArticleCalling bcp.exe in script task
Hi ,I'm new to SQL Server Integration. how can i call the bcp.exe commend in Script task so that i can insert the record in staging table using format file. Please help.
View ArticleAn error occurred in the requested FTP operation. Detailed error description:...
I created a SSIS package with 3 FTP tasks which will recieve the files from FTP site and copy them to local folder. I created a FTP connection manager with username and password and Test Connection is...
View ArticleMicrosoft BIDS is not available
Hi,My Administrator have installed Microsoft SQL Server 2008 R2 and Microsoft visual studio 2008 in my machine. But Microsoft Business Intelligence Development studio is missing under SQL Server 2008...
View Article