Solved

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

Posted on 2006-06-29
4
477 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

734 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