Get error column name using script transformation

libpekin 166 Reputation points
2024-06-21T19:33:12.47+00:00

Hello,

Hello with error caused by the GetIdenfificationStringByLineageID. I'm trying to get the actual error column name and I can't get pass this error message.

Thanks,

User's image

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,593 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,029 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Olaf Helper 45,121 Reputation points
    2024-06-24T07:02:53.84+00:00

    You get the error message, because "ComponentMetaData" don't have a method anmed "GetIdenfificationStringByLineageID" and I can't find anything about online.

    0 comments No comments

  2. libpekin 166 Reputation points
    2024-06-25T14:56:29.2+00:00

    Hi @Olaf Helper

    Thanks for the response.

    Yea, I had similar challenges finding something online. However, the code works by removing the "this" keyword from the line of code. So, the below modification is working fine.

    string myColumnName = componentMetaData.GetIdentificationStringByID(Row.ErrorColumn);

    0 comments No comments

  3. libpekin 166 Reputation points
    2024-06-25T15:00:51.4766667+00:00

    Yea, I had similar challenges finding something online. However, the code works by removing the "this" keyword from the line of code. So, the below modification is working fine.

    string myColumnName = componentMetaData.GetIdentificationStringByID(Row.ErrorColumn);

    0 comments No comments

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.