Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Run a SSIS package using jobs

$
0
0

Hi,

I am using mssql 2008 and i have created a SSIS package using dbname->task->import option and I have called the package using sql server agent jobs like the below,

xp_cmdShell 'dtexec /DTS "\MSDB\test_package1" /SERVER "myserverip" /MAXCONCURRENT " -1 "  /CHECKPOINTING OFF  /REPORTING V > D:\mssql7\access_export\log'

test_package1 is the package name.

When i run the job, it creates log files which contains,

"Microsoft (R) SQL Server Execute Package Utility
Version 10.50.1600.1 for 64-bit
Copyright (C) Microsoft Corporation 2010. All rights reserved.

Started:  12:38:09 AM
Error: 2012-10-23 00:38:09.55
   Code: 0xC0016016
   Source:  
   Description: Failed to decrypt protected XML node "DTS:Password" 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: 2012-10-23 00:38:09.72
   Code: 0xC00F9304
   Source: test_package1 Connection manager "DestinationConnectionExcel"
   Description: SSIS Error Code DTS_E_OLEDB_EXCEL_NOT_SUPPORTED: The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider is available.
End Error
Error: 2012-10-23 00:38:09.72
   Code: 0xC00291EC
   Source: Preparation SQL Task 1 Execute SQL Task
   Description: Failed to acquire connection "DestinationConnectionExcel". Connection may not be configured correctly or you may not have the right permissions on this connection.
End Error
DTExec: The package execution returned DTSER_FAILURE (1)."

It has given three errors like above.

Actually,

1. I tried to run the package separately(only in Integration Services) and it gives the exact result.Only the error comes when I call the package using jobs.

2. The jobs and packages are running successfully in mssql 2005 but when I upgrade to mssql2008 it has given error.

I am really stuck with this problem and please guide me to solve this issue ASAP.

Thanks in Advance.

Regards,

Samsul hudha .M.Y


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>