ssis

How Can I Specify Credentials for Simple Authentication in SSIS SMTP Connection Manager?

百般思念 提交于 2020-07-06 11:52:58
问题 We have several asp.net web apps that send emails, and the MailMessage object is configured with an SMTP server, username and password. The emails are sent with no problems. In an SSIS package, I added an SMTP connection manager, and I configured the smtp server. I set UseWindowsAuthentication=True because I don't see where I type in username/password. When I run the package from SQL Server Agent , the SSIS sends the email correctly, so apparently, the user/password is not needed. So how can

How to have MSBuild process all SSIS projects

依然范特西╮ 提交于 2020-07-03 06:57:46
问题 I have successfully followed the blog 1 to get MSBuild to build an SSIS project. This involved creating a dll and an MSBuild script. The process works correctly for any single project file. I'm looking for help in getting this process to work for each .dtproj file that is defined in a solution (.sln) file. I have read about MSBuild Batching 2 but it refers to items that are defined in the build script. I want it to work with whatever projects are in the solution file so I don't have to

SSIS - Move and open zip file / load xml file to the BD

我的梦境 提交于 2020-07-01 06:51:23
问题 first of all you're amazing. About my problem, what i have to do, is: I have a folder in the sftp with multiple files (zip). What i need do do is, load those files from the sftp, one by one to a stagging folder, open them, inside they are 3 files, 2 pdf and one xml. I need to upload the xml to the bd. After that, based in one field of the xml (ExternalID) i need to move the file in some folder, that depends of the ExternalID, before i move the files, i need to zip all 3 files and name the zip

Passing Variable values into .bat file using Execute Process Task

妖精的绣舞 提交于 2020-06-28 04:50:26
问题 I have a ssis package that has a foreach loop container. I am trying to use .bat file within the foreach loop container using execute Process task. How do I configure my Execute Process task to pass the value into my .bat file? Here is my sequence: Execute sql task (passing my variable into the foreach)--> Foreach loop container----> Execute Process Task (I need help with executables, arguments....) 回答1: Create 2 variables in your SSIS package. The first one would have the FileName along with

SSIS: how to handle a quote-qualified csv file with quotes inside quotes

人盡茶涼 提交于 2020-06-27 16:40:29
问题 I'm working in SQL Server 2008 R2. I have an SSIS package that imports a csv file into a table. The given csv file is quote-qualified. Because the file is quote-qualified, in its corresponding flat file connection, I specified Text qualifier = ". However, the import fails because of a particular row in the file. The given row has quotes inside of quotes. For example: "a","1","","text""moretext","","1.0" The package throws the error: The column delimiter for column <> was not found. I still

EPPlus 2.9.0.1 throws System.IO.IsolatedStorage.IsolatedStorageException when trying to save a file bigger than ~1.5 MiB from a SSIS package

ⅰ亾dé卋堺 提交于 2020-06-24 12:54:07
问题 The problem When I try to save a file over ~1.5 MiB with EPPlus ExcelPackage.Save() throws a System.IO.IsolatedStorage.IsolatedStorageException . The explanation I'm creating a SSIS package with Visual Studio 2008 9.0.30729.4462 QFE and .NET Framework 3.5 SP1 to export the content of a SQL Server 2008 SP2 10.0.4311.0 64 bit table through the EPPlus 2.9.0.1 library. The SSIS package is really simple: an Execute SQL Task which reads the table's content and puts it in a variable followed by a

SSIS Excel Import (Column Names Changing)

大城市里の小女人 提交于 2020-06-17 14:12:46
问题 I have an Excel file that loosely resembles the following format: I'll explain the next step of the SSIS element first as the column names are not "important" as I am un-pivoting the data in a data flow to start getting it usable: The issue is, the file will be updated - years and quarters will be removed (historical), new ones added to replace the old ones. That means, as we all know, the metadata on a data flow is broken. The cell range and position etc. will always remain the same. Is

SSIS Excel Import (Column Names Changing)

房东的猫 提交于 2020-06-17 14:11:42
问题 I have an Excel file that loosely resembles the following format: I'll explain the next step of the SSIS element first as the column names are not "important" as I am un-pivoting the data in a data flow to start getting it usable: The issue is, the file will be updated - years and quarters will be removed (historical), new ones added to replace the old ones. That means, as we all know, the metadata on a data flow is broken. The cell range and position etc. will always remain the same. Is

SSIS Excel Import (Column Names Changing)

别说谁变了你拦得住时间么 提交于 2020-06-17 14:10:33
问题 I have an Excel file that loosely resembles the following format: I'll explain the next step of the SSIS element first as the column names are not "important" as I am un-pivoting the data in a data flow to start getting it usable: The issue is, the file will be updated - years and quarters will be removed (historical), new ones added to replace the old ones. That means, as we all know, the metadata on a data flow is broken. The cell range and position etc. will always remain the same. Is

delete emp table data using ssis package

梦想与她 提交于 2020-06-17 12:56:19
问题 I want delete the data in the target server(postgres) tables data using ssis package. database : postgres server Table : emp in execute sql task :scriptis: delete from emp and connection used odbc when i run the executesql task in ssis package if emp table have data then its working fine and i am getting the error when emp table donot have data. [Execute SQL Task] Error: Executing the query "delete from emp usin..." failed with the following error: "Error HRESULT E_FAIL has been returned from