Hello,
I am in a very desperate situation as I am unable to make progress on my project due to this issues. I am developing a custom SSIS Source Component and I am unable to use it even after successful compilation. I am trying this bare bone component
which is also not working.
Development Environment
Windows 2008 R2 (64bit)
SQL Server 2008
Visual Studio 2012
Assemblies added from Path: C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\
Microsoft.SqlServer.Dts.Design.dll
Microsoft.SqlServer.DTSPipelineWrap.dll
Microsoft.SQLServer.DTSRuntimeWrap.dll
Microsoft.SQLServer.ManagedDTS.dll
Microsoft.SqlServer.PipelineHost.dll
Steps followed
Step #1 - Created a Visual C# Class Library
[DtsPipelineComponent(DisplayName="XCustomComponent", ComponentType=ComponentType.SourceAdapter)]
public class XCustomComponent : PiplelineComponent
{
....
//Override methods
}
Step #2 - Signed the Assembly
Created a .snk file using sn and signed the assembly in Visual Studio 2012 by selecting the .snk file (also tried .pfx file).
Step #3- Copied the dll to below folders
Copied the .dll file to both the folders below to be safer
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\PiplelineComponents
C:\Program Files\Microsoft SQL Server\100\DTS\PiplelineComponents
Step #4- Registered the dll in GAC
Ran Developer Command prompt for Visual Studio 2012 with Admin privileges and executed the command gacutil -iF c:\MyCustomComponents\MyCustomComponents.dll
Problem
Firstly I am unable to see the component in the Toolbox.
When I open SQL Server Data Tools Visual Studio 2012 and Tools->Choose Toolbox Items.. and select the dll from by debug folder I am getting the following error:
There are no components in 'c:\MyCustomComponents\MyCustomComponents.dll' that can be placed on the toolbox.
When I open SQL Server Business Intelligence Development Studio and Tools->Choose Toolbox Items.. and select the dll from by debug folder I am getting the following error:
'c:\MyCustomComponents\MyCustomComponents.dll' is not a Microsoft.NET module.
I googled and tried different options but nothing seems to work, already wasted 1wk.
Target framework is .NET Framework 4 (tried 4.5 and as well 3.5)
Platform is Any CPU (tried x86 and as well x64)
My guess is may be I am not using the right combination of Framework Version/Gacutil version/Target Platform. I am not sure, please help as its really frustrating and losing time on my project.
Thank you