I initially had my packages set to 'EncryptSensitivewithPassword' and usedthe config files. My job executes fine. But I noticed I was getting THE error "......Key not valid for use in specified state.....". So, I change the protection level to 'DontSaveSensitive' , saved packaged ,build and re-imported it. And I still get the same result.
What am I doing wrong?? Package is on the same server where it was built.
I have a package in production that executes without the error. I made a change to the package (logging) in test and now it also encounters same error as the package referenced above.