Debugging SSIS Script task – Breakpoint is enabled but it does not hit

After more research and trial-error, found that the SSIS package ignores the breakpoints in a Script Task when debugging on a 64-bit machine. To fix it – Go to the Solution Explorer Right click your SSIS project node > Properties In Configuration Properties > Debugging > Debug Options > Set Run64BitRunTime to False. After making … Read more

“Unable to read data from the transport connection: net_io_connectionclosed.” – Windows Vista Business and SMTP

There are several things that can cause this problem, and here are some of the things that I’ve found. Questions: You mention “Exchange” — Is this an exchange server? Does the host require authentication (maybe you need to add authentication to the client)? What I would try doing first is assigning the host to the … Read more

What are the differences between Merge Join and Lookup transformations in SSIS?

Screenshot #1 shows few points to distinguish between Merge Join transformation and Lookup transformation. Regarding Lookup: If you want to find rows matching in source 2 based on source 1 input and if you know there will be only one match for every input row, then I would suggest to use Lookup operation. An example … Read more

SSIS SQL Task – “Parameter name is unrecognized”

The answer to this is to change the Parameter Name value in the Parameter Mapping screen. Given the following query SELECT Id, AnimalName FROM dbo.Farm WHERE Farm_id = ? Assuming my Parameter is an integer Variable named User::Farm_id Choose the following values on the Parameter Mapping Screen Variable Name – User::Farm_id Direction – Input Data … Read more

SSIS how to set connection string dynamically from a config file

First add a variable to your SSIS package (Package Scope) – I used FileName, OleRootFilePath, OleProperties, OleProvider. The type for each variable is “string”. Then I create a Configuration file (Select each variable – value) – populate the values in the configuration file – Eg: for OleProperties – Microsoft.ACE.OLEDB.12.0; for OleProperties – Excel 8.0;HDR=, OleRootFilePath … Read more

SSIS Extension for Visual Studio 2022

Update 5 Jun. 2023 – General Availability (GA) release Microsoft released Version 1.0 (General Availability (GA) release) of the SQL Server Integration Services extension for Visual Studio 2022. Update 24 Nov. 2022 – Public preview released Microsoft added a public preview of the SQL Server Integration Services Projects 2022 to the Visual Studio marketplace, which … Read more

IsVisualStudio2012ProInstalled() method not found error when running an SSIS package from VS2012

Open the Developer Command Prompt for VS212 as Administrator execute the command cd “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies” execute the command gacutil /if Microsoft.SqlServer.Dts.Design.dll restart Visual Studio Source msdn Fail to start project For visual Studio 2013 execute the command cd “C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies” in point 2 and then execute point … Read more

How to access ssis package variables inside script component

Accessing package variables in a Script Component (of a Data Flow Task) is not the same as accessing package variables in a Script Task. For a Script Component, you first need to open the Script Transformation Editor (right-click on the component and select “Edit…”). In the Custom Properties section of the Script tab, you can … Read more