XLSX files have created problems in the past, and XLS cannot be used with 64-bit. Therefore, all tasks work with 32 bits, as in the answer of Andrey Morozov.
Our working machines were 32 bits, and when I received x64 windows, I needed to debug all the packets in 32 bits. I am lazy to set the option for all packages manually, so I found that it is saved in the ".user" file.
I wrote this little C # Script to change:
foreach (FileInfo myFile in new DirectoryInfo(@"PATH TO OUR SSISPROJECT SHARE") .GetFiles("*.dtproj.user", SearchOption.AllDirectories)) { TextReader textR = myFile.OpenText(); String fileContent = textR.ReadToEnd(); textR.Close(); if (fileContent.Contains("<Run64BitRuntime>true")) { fileContent = fileContent.Replace("<Run64BitRuntime>true" , "<Run64BitRuntime>false"); } else if (!fileContent.Contains("<Run64BitRuntime>") && fileContent.Contains("<Options>")) { fileContent = fileContent.Replace("<Options>" , "<Options>\r\n <Run64BitRuntime>false</Run64BitRuntime>"); } else { continue; } TextWriter textW = myFile.CreateText(); textW.Write(fileContent); textW.Close(); }
kindly welcome
source share