Could you please suggest the list of software needed to register and use a custom component in data tools tool box using VS2019 in x64

SAILANATHAN Balaji 50 Reputation points
2024-04-08T12:34:26.1366667+00:00

Issue Description:

Facing issue in setting up and running SSIS in debug mode in VS2015 that can recognize 64-Bit C# custom components in Data Tools Tool box.

Created MyCustomComponent.dll by referencing below dlls. Took the dlls from 140\DTS\Binn

Microsoft.SqlServer.DTSPipelineWrap.dll

Microsoft.SqlServer.DTSRuntimeWrap.dll

Microsoft.SqlServer.ManagedDTS.dll

Microsoft.SqlServer.PipelineHost.dll

Added the MycustomComponent.dll into GAC using C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\x64\gacutil.exe Then, copied to

C:\Program Files\Microsoft SQL Server\140\DTS\PipelineComponents\

C:\Program Files (x86)\Microsoft SQL Server\140\DTS\PipelineComponents\

DEV Setup:

Installations ->

Visual Studio 2015 Update 2

SSDT for VS2015 17.4

Opened VS2015 SSIS Project in 64-bit mode => the Components under MyCustomComponent.dll is not being loaded into Data Tools tool set. We need the cusom components to be loaded into Data Tools tool set.

Additional Info:

Control Panel entries ->

Microsoft Sql Server 2017 (64-bit)

Microsoft SQL Server Data Tools - enu (14.0.61712.050)

Microsoft SQL Server Data Tools - Visual Studio 2015 (13.0.3225.4)

Microsoft SQL Server Data - Tier Application Framework (x86) (13.0.3225.4)

Services.msc entries ->

SQL Server Integration Services 13.0

SQL Server Integration Services 14.0

SERVER Setup: Same as local workstation, except that the server doesnt have VS2015 IDE

Control Panel entries ->

Microsoft Sql Server 2017 (64-bit)

Microsoft SQL Server Data - Tier Application Framework (x86) (13.0.3225.4)

Services.msc entries ->

SQL Server Integration Services 13.0

SQL Server Integration Services 14.0

dtsx from commandline executes fine. Challenge is running it only from an IDE.

Could you please let us know if we missed something in our dev machine to load the custom components in ssis toolbox in x64?

Also, could you please suggest the list of softwares needed to run the same package using VS2019 in x64.

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
538 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 54,811 Reputation points
    2024-04-08T15:25:23.4666667+00:00

    That's not how Visual Studio works. The designer and VS is an x86 app. You can only load the designers for x86 components. The designers needed to be registered in the x86 GAC. Once the designers are installed then your package designer should be able to load the designer files and allow you to edit the components/tasks/whatever.

    At runtime the mode of SSIS determines which version of the component is needed. If you have configured your SSIS package (SSIS package property) to run in x64 mode then you need to have the runtime DLL components installed in the x64 GAC. If you are instead running in x86 mode then you need to have the runtime DLL components installed in the x86 GAC. If you need to support both then you need to register them twice.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.