rtumaykin / ssis-build

A set of utilities that allow to autonomously build a Visual Studio SSIS project (dtproj) into a deployment package (ispac), and deploy the package to an SSIS catalog
Apache License 2.0
52 stars 39 forks source link

VS2019 Specified initialization vector (IV) does not match the block size for this algorithm. #43

Open floschiavo opened 4 years ago

floschiavo commented 4 years ago

Hi, I have made the changes specified in issue #25 but am still getting the same error in VS 2019. Can you suggest a fix for this please?

darkice83 commented 3 years ago

To fix this for us i needed to update the EncryptElement and DecryptElement in two files SssisBuild.Core ProjectManagement Package.cs & ProjectFile.cs in both files i renamed the existing EncryptElement to EncryptElementOld (same for DecrypteElement) and then i had VS suggest my fixes (virtual to override and also add an use system.io)