OLE DB provider for Sybase : SQL Anywhere OLE DB Provider 12.
32-bit ODBC System DSN for each Sybase database is created which works fine when tested and same is referenced in SSIS OLE DB connection managers.
SSIS package is saved on SQL Server via "Save Copy of Package.dtsx As..." with Protection level "Rely on server storage and roles for access control".
When the package is executed from BIDS, data is imported without any errors, but when same package is scheduled to run under SQL Agent, it either fails or does nothing.
If I disable the Sybase control flow from BIDS and redeploy on SQL Server and execute via agent job, it runs fine.
To check the failure when Sybase control flow is there, I have added step to send email notification on package failure with description. Here are the descriptions in from each email:
Message 1: Error code: -1073450996
Error description: One or more component failed validation.
Message 2: Error code: -1073594105
Error description: There were errors during task validation.
Message 3: Error description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Sybase.cmfDb" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Message 4: Error code: -1073450985
Error description: component "Data Source" (16) failed validation and returned error code 0xC020801C.
Job history message: Executed as user: DOMAIN\Username. The step failed.
Delay Validation is set to True for all data sources.
I already tried the solution from Experts Exchange, but it did not work: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_27636713.html
Keeping everything same in both BIDS and SQL storage, it works for BIDS and not from agent job. What could be wrong?
Thanks in advance.