I created an SSIS package with Oracle data source and SQL Server destination ok. In fact through an SQL query I want to export data from an oracle table to an SQL server table. At this level everything is fine.
when I run the SSIS package (to test) in debug mode using visual studio vs2022 64bits 17.6.4:
- sometimes it works (I can see the data in SQL server table.)
- and sometimes running a second time the ssis package fails after deleting all data in SQL server table (I do it to check if everything is working fine); it seems to run infinitely, this is the log:
SSIS package "C:\REs\package.dtsx" starting. Information: 0x4004300A at Tâche de flux de données 2, SSIS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Tâche de flux de données 2, SSIS.Pipeline: Validation phase is beginning. Information: 0x40043006 at Tâche de flux de données 2, SSIS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Tâche de flux de données 2, SSIS.Pipeline: Pre-Execute phase is beginning. Information: 0x4004300C at Tâche de flux de données 2, SSIS.Pipeline: Execute phase is beginning. SSIS package "C:\REs\package.dtsx" finished: Canceled.
here the image: https://ibb.co/f1crvpQ
I don't understand this behavior. I don't understand why sometimes the execution works and sometimes not.
Subsequently, I made a deployment of the SSIS package to SQL server for scheduled automatic execution. But when execution is started, I received the following message:
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 15.0.2000.5 for 64-bit Copyright (C) 2019 Microsoft. All rights reserved. Started: 16:56:00 Package execution on IS Server failed. Execution ID: 20, Execution Status:6. To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report
Started: 16:56:00 Finished: 16:56:05 Elapsed: 4,734 seconds.
The package execution failed. The step failed.
In the Integration Services Catalog reports, I don't see any alarming error messages apart from unexpected termination.
what to do?
Thank you for your support
My environment:
- Windows Server 2019 version 1809
- SQL Server 2019 64 bits
- vs2022 community 64 bits 17.6.4
select @@ version
? There is a known issue with older releases of SQL Server 2019.