I have an SSIS project that I have not had any issue with for the last year. I can execute the unchanged packages without issue currently from Visual Studio 2019 and as a SQL Agent Job in SSMS.
However, if I open the data flow ODBC source in the Data Task, I am prompted to update the Metadata on the Output columns. Whether I select yes or no and make no other changes to the package, I receive the below error on execution:
"ODBC Source" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
The only change that I can think that may have caused this error is I updated from Visual Studio 2017 to Visual Studio 2019 on the server. I do use VS 2019 on my local computer and it is having the same issue.
The ODBC Source is using a SQL Anywhere 17 32-bit driver.
I have tried the following and continue to receive the error on execution:
- Recreated the data flow task, the ODBC connection manager, and the package.
- Ran the package using DTEXEC /FILE.
- Set ValidateExternalMetadata to False on the ODBC Source
- Confirmed the External and Output columns on the Data Source have the same DataType
EDIT: I created a new Project in VS 2017 with the same Data Flow Task. I could run and edit the ODBC Source without any Metadata errors on execution. I opened the project in VS 2019 and as soon as I opened the ODBC Source, I was prompted to update the metadata. Then when executing, I received the "VS_NEEDSNEWMETADATA" error. Any ideas on correcting this in VS 2019?