title: Custom Pipeline Component SSIS Error: HREF 0xC0048021
body: <p>I am trying to implement a custom data flow component in my managed code.  Here is my custom data flow component:</p>
  
  <pre><code>[DtsPipelineComponent(DisplayName = "RenameComponent", ComponentType = ComponentType.Transform)]
  public class MapperComponent : PipelineComponent
  {
      List&lt;IDTSVirtualInputColumn100&gt; dontMapList;
  
      public override void ProvideComponentProperties()
      {
          base.ProvideComponentProperties();
  
          base.RemoveAllInputsOutputsAndCustomProperties();
          IDTSInput100 input = ComponentMetaData.InputCollection.New();
          input.Name = "Input";
  
          IDTSOutput100 output = ComponentMetaData.OutputCollection.New();
          output.Name = "Output";
          output.SynchronousInputID = input.ID;
  
          // Make the output asynchronous
          output.SynchronousInputID = 0;
          FindOldColumns(input);
      }
  }
  </code></pre>
  
  <p>I compile that, register it with the gac, and save it to the C:\Program Files\Microsoft SQL Server\100\DTS\PipelineComponents directory.</p>
  
  <p>I then run the following code to add the component to my data flow task:</p>
  
  <pre><code>private static IDTSComponentMetaData100 CreateRenameTransformation(MainPipe dataFlow, Train train)
      {
          IDTSComponentMetaData100 renameTransformation = dataFlow.ComponentMetaDataCollection.New();
  
          // Set stock properties
          renameTransformation.ComponentClassID = "Dexter.CustomComponents.MapperComponent";
          renameTransformation.Name = "RenameTransformation";
          renameTransformation.Description = "Rename and remove incompatible columns";
  
          CManagedComponentWrapper instance = renameTransformation.Instantiate();
          instance.ProvideComponentProperties();
  
          return renameTransformation as IDTSComponentMetaData100;
     }   
  </code></pre>
  
  <p>During runtime (when i try to create the pacakge), I get the following error: 
  0xC0048021
  -1073446879
  DTS_E_ERRORCOMPONENT
  The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "%1". </p>
  
  <p>Thanks,</p>