I am following a Udemy Course Learn ETL using SSIS. The first simple task is to transfer data from an excel file to a database.
The only change I have made is I am trying to transfer to a PostgreSQL server instead of a Microsoft SQL Server. I therefore had to install SSDT for Visual Studio first, and get the ODBC driver necessary to create a ODBC Destination for the package.
All well so far, but then when I try and run the package I just get:
SSIS package "Visual Studio 2017\Projects\Excel_SQL\Excel_SQL\Package.dtsx" starting. Information: 0x4004300A at Excel to SQL, SSIS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Excel to SQL, SSIS.Pipeline: Validation phase is beginning. Information: 0x40043006 at Excel to SQL, SSIS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Excel to SQL, SSIS.Pipeline: Pre-Execute phase is beginning. Information: 0x4004300C at Excel to SQL, SSIS.Pipeline: Execute phase is beginning. SSIS package "Visual Studio 2017\Projects\Excel_SQL\Excel_SQL\Package.dtsx" finished: Canceled. The program '[14368] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).
No data transfers over. The excel file is very simple, excel 97-2003 as the connection expects, contains 2 columns only, rollnumber
and marks
, rollnumber
has 11 rows of data going 1
to 11
, and then some random marks in the marks column.
My database on Postgres
is set up with these 2 columns, as numeric types.
I really cannot figure out what is going wrong.
I have seen some similar questions on stack overflow, but that was around the file type not being correct:
I don't think that's my issue.
Can anyone please advise?
Thank you.