Hello,
This is my situation:
* Windows 2003 Server R2 SP2 SE + MS SQL Server 2008 EE SP3 + Integration Services Locally installed.
* VC 6.0.8
I setup a task to run a SSIS package in a dtsx which is stored locally. The SSIS package has a protection level "EncryptallWithPassword".
VC service has a startup account of a domain user which is a local admin of the server.
If I'm logged with this user in the server, I can run the dtsx package correctly.
If I setup the SSIS task from VC, providing the credentials with the same user account which I'm logged and which VC service is running, I get the following error:
Unhandled error occured: Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: Failed to remove package protection with error 0xC0014037 "The package is encrypted with a password. The password was not specified, or is not correct.". This occurs in the CPackage::LoadFromXML method.
---> System.Runtime.InteropServices.COMException (0xC0014037): Failed to remove package protection with error 0xC0014037 "The package is encrypted with a password. The password was not specified, or is not correct.". This occurs in the CPackage::LoadFromXML method.
at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events)
at SSISExecute2008.SSIS2008.ExecutePackage(TaskSSISInfoClass task)
at F4oJgwASw429oqZF67.uULTZ9jRwXrM03ZOxl.wweHX6Wh6(String[] )
Exception in Task: Non zero exit code
If I install the SSIS.zip file that I found in this forum, and replace files under MSSQL2008 folder, the error is the same but with some additional messages at the bottom.
Unhandled error occured: Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: Failed to remove package protection with error 0xC0014037 "The package is encrypted with a password. The password was not specified, or is not correct.". This occurs in the CPackage::LoadFromXML method.
---> System.Runtime.InteropServices.COMException (0xC0014037): Failed to remove package protection with error 0xC0014037 "The package is encrypted with a password. The password was not specified, or is not correct.". This occurs in the CPackage::LoadFromXML method.
at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events)
at SSISExecute2008.SSIS2008.ExecutePackage(TaskSSISInfoClass task) in C:\sourcefiles\code\SSISExecute2008\SSIS2008.vb:line 32
at SSISExecute2008.Main.Main(String[] args) in C:\sourcefiles\code\SSISExecute2008\Main.vb:line 27
Exception in Task: Non zero exit codeEverything is 32 bits.
I've tried to modify ssis package security with the other possible options but package will never run. It seems that it's uncapable of decrypting the password.
I tried to upload the dtsx package to the integration services and run the task selecting the option "Package Located in Database" but task failed too.
No need to say that I could run the package directly in the Integration Service.
Any idea??
Edited by moderator
2012-03-23T15:30:37Z
|
Reason: Not specified