Solved

SQL 2005 SSIS package won't run within a Stored Procedure

Posted on 2006-06-29
4
473 Views
Last Modified: 2008-01-09
SQL 2005 EE 64 Bit
Win 2003 EE 64 Bit
I have a SSIS package that was migrated from a DTS package.  When I right click on the package & click run package, the package runs with no problems.  When I try running the package from a SP, it gives me the following error:

Error: 2006-06-29 07:37:50.33
   Code: 0xC0016016
   Source:  
   Description: Failed to decrypt protected XML node "PackagePassword" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify t
hat the correct key is available.

SSIS service is configured to run under a sysadmin account.  The account I am trying to run the SP is a sysadmin as well.
I found a KBB article that mentioned modifying the protectionproperty level.  I have tried different protectionpropertylevels to see if that would make a difference & it didn't.

Anyone have any ideas what might be happening?  I have tried recreating this package & received the same error.

Thanks!
John
0
Comment
Question by:Soccerman55
4 Comments
 
LVL 10

Expert Comment

by:pai_prasad
ID: 17014744
i had faced similar problems..
r u using variable in the SSIS packages...
do u have any SQL tasks ??,..,
run the sql queries in QA to see if they give proper results
check the datatype of variables and that of the return value from the queries
0
 
LVL 1

Author Comment

by:Soccerman55
ID: 17072054
Turns out the error I was getting really had nothing to do with what was wrong.  I needed to use the 32 bit DTEXec to execute my SSIS package because it was accessing an ODBC source.  SO in my SP I referenced the 32 bit DTExec & hoila, it ran successfully.

John
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17157705
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now