Error in import\export packages when the package sceduled through sql agent


hi all,

we have got db cloud server(public ip) in data must pushed on daily basis our internal db server.

 when using import\export wizard or ssdt task it working fine, same when creating ssis package in import wizard , scheduling through agent it throwing below error.

''  code: 0xc0016016     source: package      description: failed decrypt protected xml node "dts:password" error 0x8009000b "key not valid use in specified state.". may not authorized access information. error occurs when there cryptographic error. verify correct key available.  end error  error: 2015-05-02 12:29:34.53     code: 0xc0016016     source: package      description: failed decrypt protected xml node "dts:password" error 0x8009000b "key not valid use in specified state.". may not authorized access information. error occurs when there cryptographic error. verify correct key available.  end error  error: 2015-05-02 12:29:34.58     code: 0xc0202009     source: package connection manager "xxx.xx.xx.xx.packgestest.import"     description: ssis error code dts_e_oledberror.  ole db error has occurred. error code: 0x80040e4d.  ole db record available.  source: "microsoft sql server native client 11.0"  hresult: 0x80040e4d  description: "login failed user 'import'.".  end error  error: 2015-05-02 12:29:34.58     code: 0xc020801c     source: data flow task ole db destination [2]     description: ssis error code dts_e_cannotacquireconnectionfromconnectionmanager.  acquireconnection method call connection manager "xxx.xx.xx.xx.packgestest.import" failed error code 0xc0202009.  there may error messages posted before more information on why acquireconnection method call failed.  end error  error: 2015-05-02 12:29:34.58     code: 0xc0047017     source: data flow task ssis.pipeline     description: ole db destination failed validation , returned error code 0xc020801c.  end error  error: 2015-05-02 12:29:34.58     code: 0xc004700c     source: data flow task ssis.pipeline     description: 1 or more component failed validation.  end error  error: 2015-05-02 12:29:34.58     code: 0xc0024107     source: data flow task      description: there errors during task validation.  end error  dtexec: package execution returned dtser_failure (1).  started:  12:29:34 pm  finished: 12:29:34 pm  elapsed:  0.546 seconds.  package execution failed.  step failed.''

-->login working fine in both server.

-->we have selected not save sensitive data in package protection level

-->cloud db server agent running ntservice, , have given full rights for ntservice account to the folder package resides

-->internal server agent running our windows account

-->package automation throwing same error in both ways (i.e, if package created in our internal server , scheduled or in cloud db server)

-->both server on windows 2012r2,64 bit with sql server 2012 enterprise edition

could 1 please help me in this, can automate process.

with regards,

ram




hi all,

we have got db cloud server(public ip) in data must pushed on daily basis our internal db server.

 when using import\export wizard task it working fine, same when creating ssis package in import wizard , scheduling through agent it throwing below error.

''  code: 0xc0016016     source: package      description: failed decrypt protected xml node "dts:password" error 0x8009000b "key not valid use in specified state.". may not authorized access information. error occurs when there cryptographic error. verify correct key available.  end error  error: 2015-05-02 12:29:34.53     code: 0xc0016016     source: package      description: failed decrypt protected xml node "dts:password" error 0x8009000b "key not valid use in specified state.". may not authorized access information. error occurs when there cryptographic error. verify correct key available.  end error  error: 2015-05-02 12:29:34.58     code: 0xc0202009     source: package connection manager "xxx.xx.xx.xx.packgestest.import"     description: ssis error code dts_e_oledberror.  ole db error has occurred. error code: 0x80040e4d.  ole db record available.  source: "microsoft sql server native client 11.0"  hresult: 0x80040e4d  description: "login failed user 'import'.".  end error  error: 2015-05-02 12:29:34.58     code: 0xc020801c     source: data flow task ole db destination [2]     description: ssis error code dts_e_cannotacquireconnectionfromconnectionmanager.  acquireconnection method call connection manager "xxx.xx.xx.xx.packgestest.import" failed error code 0xc0202009.  there may error messages posted before more information on why acquireconnection method call failed.  end error  error: 2015-05-02 12:29:34.58


did notice error messages? 

try encrypt password custom password

package proprties window >
protectionlevel -- change encryptsensitivewithpassword
packagepassword -- enter password-> custompassword 

http://msdn.microsoft.com/en-us/library/ms141747.aspx

ref: http://www.codeproject.com/questions/610225/sqlplusserverplusjobspluswithplusssispluspackagesp


satheesh
my blog | how ask questions in technical forum



SQL Server  >  SQL Server Database Engine



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........