SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 job problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nord
Posting Yak Master

122 Posts

Posted - 03/13/2013 :  10:39:27  Show Profile  Reply with Quote
Hi everyone,
i have ssis on the server and i would like run this ssis by job ,job fail,this is message job:
Message
Executed as user: LMPI\sqlagent. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 10:23:05 Error: 2013-03-13 10:23:05.94 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "DTS:Property" 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 that the correct key is available. End Error Error: 2013-03-13 10:23:06.97 Code: 0xC0202009 Source: ImportCanpar Connection manager "Euro DEV" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E4D Description: "Login failed for user 'LMPI\sqlagent'.". End Error Error: 2013-03-13 10:23:06.97 Code: 0xC020801C Source: Data Flow Task OLE DB Destination [22] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Euro DEV" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2013-03-13 10:23:06.97 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "OLE DB Destination" (22) failed validation and returned error code 0xC020801C. End Error Error: 2013-03-13 10:23:06.97 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2013-03-13 10:23:06.97 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:23:05 Finished: 10:23:06 Elapsed: 1.687 seconds. The package execution failed. The step failed.
Thanks

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 03/13/2013 :  11:16:27  Show Profile  Reply with Quote
seems like you've protection level set on package based on userkey. then only same user can access sensitive information of package. So you've make protection level property to be based on server storage or based on a password. If former, it will work fine. If its latter enter the password in job properties.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

nord
Posting Yak Master

122 Posts

Posted - 03/13/2013 :  11:28:30  Show Profile  Reply with Quote
can you please explane where i need enter username and password...Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 03/13/2013 :  11:56:27  Show Profile  Reply with Quote
you need to change protection level of package first. there are different settings so you can choose server storage or encrypt sensitive using user key. if former, you dont need to do anything while calling package from job. If latter you need to give a password while saving the package and add the same password in the job properties in sql server agent

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

nord
Posting Yak Master

122 Posts

Posted - 03/13/2013 :  13:20:44  Show Profile  Reply with Quote
I put encrypt sensitive using user key,but it still same problem....
Go to Top of Page

nord
Posting Yak Master

122 Posts

Posted - 03/13/2013 :  14:51:03  Show Profile  Reply with Quote
ok,I got it,this was problem security,thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000