Execute: : unknown object in stream 21

Dec 8, 2011 at 6:35 PM

SSIS package "SFTP_test.dtsx" starting.

Information: 0x1 at Encrypt PGP Task:





Error: 0x0 at Encrypt PGP Task, Execute: : unknown object in stream 21

Task failed: Encrypt PGP Task

Warning: 0x80019002 at SFTP_test: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

SSIS package "SFTP_test.dtsx" finished: Failure.


What does the unknown object in stream 21 mean? Can if be fixed?

Dec 15, 2011 at 1:29 PM

Are you trying to encrypt a file? can you send me the a sample project, so i can replicate the problem?

Dec 15, 2011 at 2:53 PM

I need an email address.

Dec 30, 2011 at 1:57 PM

Did you resolve your issue? 

Jan 2, 2012 at 6:35 PM

Yes. The Target file name needs to be different from the Source file. If not the condition will want to zip and or encrypt the Target file too.

Jan 11, 2012 at 6:14 PM
Edited Jan 11, 2012 at 6:16 PM



Still getting the issue when I try to Decrypt PGP Task

Jan 18, 2012 at 7:13 PM

mcpunjabi any thoughts ideas?

Jan 18, 2012 at 7:43 PM



Jan 19, 2012 at 12:13 AM

Are you able to decrypt the file using another software, just want to make sure that the keys and encrypted file is not corrupt.

Jan 22, 2012 at 2:42 PM


I have key backup exported/ backup from gpg4win.org software. The works fine with their software. but maybe the SSIS task is not reading the key correctly. I would look at the source code but I'm a DBA and I don't know much about programmer.

My asc file looks like this example. from this website: http://www.ilovefreesoftware.com/16/windows/security/download-gpg4win-free-email-encryption-software.html  but mine has a public and a private key block. I posted this http://bouncy-castle.1462172.n4.nabble.com/Public-Key-Problems-td1465075.html because I thought the code may have a /r counting problem.