title: SSIS : I am trying to get the error column name using the script component. However I get error for the code below
body: <p>I am trying to get the error column name using the script component but am getting an error for the below line:</p>
  
  <pre><code>var componentMetaData130 = this.ComponentMetaData as IDTSComponentMetaData130;
  Row.ErrorColumnDescription = this.ComponentMetaData.GetIdentificationStringByID(Row.ErrorColumn);
  </code></pre>
  
  <blockquote>
    <p>The type or namespace 'IDTSComponentMetaData130' could not be found.</p>
  </blockquote>
  
  <p>If anyone can guide me for the same.</p>