Solved

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

Posted on 2006-06-29
4
471 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
Comment Utility
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
Comment Utility
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
Comment Utility
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

762 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

11 Experts available now in Live!

Get 1:1 Help Now