Hello
I have set up an SSIS package on Windows to download a CSV file from an FTP run some transforms and download images from a list of URLs which works fine.
I then want to deploy this onto an Ubuntu server running SQL Server 2017 with SSIS installed.
As the SSISDB Catalog is not supported on Linux it seems the only way to run this is as a cron job as per the instructions here:
However as I must develop the package on Windows I cannot enter Linux compatible paths as this raises an error and I cannot save the connection in Visual Studio. As a workaround I open the .dtsx package with VS Code and edit the paths in the XML to /home/...
I then execute the package using:
/opt/ssis/bin/dtexec /Decrypt PASSWORD /F /home/WEBSITE/stocklist/RefreshAutoTraderStocklist.dtsx
But whatever I do this always fails and says the paths are not valid. I have tried running as SU and also chmodding the files and folders being accessed to 777 yet it makes no difference. I cannot find any documentation on this specifically relating to Linux so am not sure how I can get this working.
Errors are:
Error: 2018-10-20 14:00:24.28 Code: 0xC001401E Source: RefreshAutoTraderStocklist Connection manager "FILE.csv" Description: The file name "/home/WEBSITE/stocklist/FILE.csv" specified in the connection was not valid. End Error Error: 2018-10-20 14:00:24.29 Code: 0xC001401D Source: RefreshAutoTraderStocklist Description: Connection "FILE.csv" failed validation. End Error Error: 2018-10-20 14:00:24.29 Code: 0xC001401E Source: RefreshAutoTraderStocklist Connection manager "FILE.csv (from FTP)" Description: The file name "/home/WEBSITE/stocklist/" specified in the connection was not valid. End Error Error: 2018-10-20 14:00:24.29 Code: 0xC001401D Source: RefreshAutoTraderStocklist Description: Connection "FILE.csv (from FTP)" failed validation. End Error Progress: 2018-10-20 14:00:24.40 Source: Save Data to Database Validating: 0% complete End Progress Error: 2018-10-20 14:00:24.40 Code: 0xC001401E Source: RefreshAutoTraderStocklist Connection manager "FILE.csv" Description: The file name "/home/WEBSITE/stocklist/FILE.csv" specified in the connection was not valid. End Error Error: 2018-10-20 14:00:24.40 Code: 0xC0202070 Source: RefreshAutoTraderStocklist Connection manager "FILE.csv" Description: The file name property is not valid. The file name is a device or contains invalid characters. End Error
The files and folders do exist in the locations mentioned but all I can guess is that when the SSIS package is trying to validate itself it is seeing these paths as invalid as they would not be valid on Windows but I am not sure how I can bypass this.
Thanks
Robin
Robin Wilson