Home All Groups Group Topic Archive Search About
Author
3 Jan 2007 8:48 AM
gess6321
i  am trying to create a job in ssis for a package I created. I able to
execute the package, but get the following error when I run the job
[298] SQLServer Error: 22046, Encryption error using CryptProtectData.
[SQLSTATE 42000] Anybody have any idea how to get around this?

Author
3 Jan 2007 3:33 PM
Dejan Sarka
>i  am trying to create a job in ssis for a package I created. I able to
> execute the package, but get the following error when I run the job
> [298] SQLServer Error: 22046, Encryption error using CryptProtectData.
> [SQLSTATE 42000] Anybody have any idea how to get around this?

Either you store sensitive data in the package and use default encryption
level (sensitive data encrypted with user key) or you encrypted the whole
package with your user key. SQL Agent cannot decrypt this package. You can
exclude sensitive data like passwords from the package, you can rely on
server storage (store the package in msdb), you can use a proxy account to
execute SSIS package job steps... Do please check the "Setting the
Protection Level of Packages" and related topics in BOL.


AddThis Social Bookmark Button