Solved

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

Posted on 2006-06-29
4
478 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.

627 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