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
Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

808 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