Hi @Naomi Nosonovsky ,
You can try to open that SSIS Project in Visual Studio, and modify TargetServerVersion to SQL Server 2022. Test is, and after making sure it is working, redeploy to the SSIS run-rime server on SQL Server 2022 instance.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The SQL Server has been updated to SQL 2022 (compatibility mode 150). The same file that works in production, now gives an error in Stage Error: 0xC0049064 at Load Flat File, Derived Column File [2]: An error occurred while attempting to perform a type cast.
Error: 0xC0209029 at Load Flat File, Derived Column File [2]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Derived Column File" failed because error code 0xC0049064 occurred, and the error row disposition on "Derived Column File.Outputs[Derived Column Output].Columns[Derived_sequence_id]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
We dropped that column, which was ((DT_NUMERIC,8,1)sequence_id) / 10, but then the file failed with a different error complaining about a different column. Inspecting the file manually in Notepad++ didn't show anything wrong with the rows in question.
Could it be some bug with SQL Server 2022? The same file works fine in production, which is SQL 2016.
I selected 100 (or just 3) last rows of the file, disabled the derived column and I'm getting this error now:
Error: 0xC0202009 at Load Flat File, Load_DB [115]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Invalid character value for cast specification.".
Error: 0xC020901C at Load Flat File, Load_DB [115]: There was an error with Load_DB.Inputs[OLE DB Destination Input].Columns[provider_location_id] on Load_DB.Inputs[OLE DB Destination Input]. The column status returned was: "The value could not be converted because of a potential loss of data.".
Error: 0xC0209029 at Load Flat File, Load_DB [115]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Load_DB.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 occurred, and the error row disposition on "Load_DB.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
Error: 0xC0047022 at Load Flat File, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Load_DB" (115) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (128). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
The rows look perfect to me. Also, the yesterday's file loaded just fine. What could be wrong with that file?
Hi @Naomi Nosonovsky ,
You can try to open that SSIS Project in Visual Studio, and modify TargetServerVersion to SQL Server 2022. Test is, and after making sure it is working, redeploy to the SSIS run-rime server on SQL Server 2022 instance.
It worked from local VS project now, but still failed from the job on the Stage server.
Hi @Naomi Nosonovsky ,
Glad to hear the issue has been solved now, if you have any other questions, feel free to raise it on Q&A!