Getting error loading data into the MS Access using SSIS - ssis

Message
Executed as user: WORKGROUP\REPORTING$. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 4:10:44 PM Error: 2013-06-26 16:10:45.69 Code: 0xC0209303 Source: WAP_Success_DUMP Connection manager "SAME" Description: The requested OLE DB provider Microsoft.Jet.OLEDB.4.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". End Error Error: 2013-06-26 16:10:45.69 Code: 0xC020801C Source: ALL OLE DB Destination [173] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SAME" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2013-06-26 16:10:45.69 Code: 0xC0047017 Source: ALL SSIS.Pipeline Description: OLE DB Destination failed validation and returned error code 0xC020801C. End Error Error: 2013-06-26 16:10:45.69 Code: 0xC004700C Source: ALL SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2013-06-26 16:10:45.69 Code: 0xC0024107 Source: ALL Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:10:44 PM Finished: 4:10:45 PM Elapsed: 1.528 seconds. The package execution failed. The step failed.
I am getting the above error ,when I executed the package using Sql Server job agent.When I execute the package using BIDS its running successfully.I have changed my solution to the Run64bitRunTime false I am getting the some other errors.

I have run into this before. I had to change the Run64bitRunTime property to false. Then make sure the appropriate driver was installed on the server. Ultimately I started using the ACE drivers.

Related

Error on Acquiring Connection in SSIS package using Connection string from Configuration File

I am getting below error during execution of SSIS Package which is running by a Sql Schedule Job and using a config file for DB Connection. Job is running in a different domain user account which has admin privileges. SSIS package Protection level is DONT SAVE SENSITIVE.
Executed as user: domainname\user. Microsoft (R) SQL Server Execute Package Utility Version 10.50.6560.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 11:59:25 PM Error: X/X/XXXX 23:59:27.73 Code: 0xC0202009 Source: XYZ Connection manager "DB_1" 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 'USR_1.". End Error Error: X/X/XXXX 23:59:27.73 Code: 0xC020801C Source: Action1 source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "DB_1" 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: X/X/XXXX 23:59:27.73 Code: 0xC0047017 Source: Action1 SSIS.Pipeline Description: component "CC source" (1) failed validation and returned error code 0xC020801C. End Error Error: X/X/XXXX 23:59:27.73 Code: 0xC004700C Source: Action1 SSIS.Pipeline Description: One or more component failed validation. End Error Error: X/X/XXXX 23:59:27.73 Code: 0xC0024107 Source: Action1 Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:59:25 PM Finished: 11:59:27 PM Elapsed: 1.966 seconds. The package execution failed. The step failed.
Sql User USR_1 is used during Package Design Time. But DB Connection String has different Sql Login in Config File USR_2. This error Start to come after changing the Login Password for Sql User USR_2. But We are able to Connect SQL MGMT Studio with USR_2 with New Password. And When we use USR_1 user and its password in COnfig File. This error does not come.
I have found root cause behind this issue.
Some unwanted characters were present in the password.
[] () , ; ? * ! # =.

"Key not valid for use in specified state." - SSIS Package

I have a SSIS package deployed in my server. My database is a SQL Server 2008R2, the SSIS was developed in Data Tools 2008.
It used to work perfectly but since a few days it started to throw this error:
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: 2018-03-27 15:15:37.25 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: 2018-03-27 15:15:37.84 Code: 0xC0202009 Source: Package Connection manager "MYDATABASE" 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 'MYUSER'.". End Error Error: 2018-03-27 15:15:37.84 Code: 0xC020801C Source: XX Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "MYDATABASE" 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: 2018-03-27 15:15:37.84 Code: 0xC0047017 Source: Carga criticidad SSIS.Pipeline Description: component "XX" (1) failed validation and returned error code 0xC020801C. Description: One or more component failed validation. End Error Error: 2018-03-27 15:15:37.84 Code: 0xC0024107 Source: XX Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1)
I already checked this post: SSIS: Just started getting a "Key not valid for use in specified state." error on my scheduled SSIS package
And i think it isn't the same because if a execute my ETL from the Data Tools, it works just fine. It only throws error when it executes by the SQL Agent
Does anyone know what could be this? I haven't changed anyuthing in the Server, Database or SSIS Package.

SSIS package fails when used in SQL Server Agent (SQL to MySql connection)

I have create a Data Flow Task with ADO NET Source (Local SQL Server), Data Conversion Step and ADO NET Destination (ODBC Provider).
While in BIDS everything works fine, when iam running the package from SQL Server Agent i get the following error:
"Message
Executed as user: ISK\SYSTEM. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved.
Started: 5:31:26 μμ
Error: 2017-08-20 17:31:27.79
Code: 0xC0208452
Source: Data Flow Task ADO NET Destination [22]
Description: ADO NET Destination has failed to acquire the connection {F2EA5342-B616-4E16-80E5-2744574A453A}. The connection may have been corrupted. End Error Error: 2017-08-20 17:31:27.79 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "ADO NET Destination" (22) failed validation and returned error code 0xC0208452. End Error Error: 2017-08-20 17:31:27.79 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2017-08-20 17:31:27.79 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 5:31:26 μμ Finished: 5:31:27 μμ Elapsed: 1.622 seconds. The package execution failed. The step failed."
I have try everything i could find:
Run64BitRuntime - False
ProtectionLevel - DontSaveSensitive
ExecutionOption of JobStep - Use 32 Bit Runtime
Created a package configuration file and set there the connection password for the mysql database.
I will be more than happy if anyone could point some directions

Compilation error in SSIS Package when running in SQL Server 2014

We recently upgraded from SQL Server 2012 to SQL Server 2014. We have one SSIS package which was running successfully in SQL Server 2012 but coming to SQL Server 2014 we are getting the below error:
Microsoft (R) SQL Server Execute Package Utility Version 12.0.2456.0
for 64-bit Copyright (C) Microsoft Corporation. All rights reserved.
Started: 4:38:42 AM Error: 2015-11-12 04:38:54.08 Code:
0x00000005 Source: File to SQL Staging File to SQL Staging
Description: Failed to compiled scripts contained in the package. Open
the package in SSIS Designer and resolve the compilation errors. End
Error Error: 2015-11-12 04:38:54.08 Code: 0x00000005 Source:
File to SQL Staging File to SQL Staging Description: CS1705 -
Assembly 'Microsoft.SqlServer.ManagedDTS, Version=12.0.0.0,
Culture=neutral, uses 'Microsoft.SqlServer.DTSRuntimeWrap,
Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
which has a higher version than referenced assembly
'Microsoft.SqlServer.DTSRuntimeWrap, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91', d:\MSSQL11
(x86)\120\SDK\Assemblies\Microsoft.SQLServer.ManagedDTS.dll, 0, 0 End
Error Error: 2015-11-12 04:38:54.11 Code: 0x00000005 Source:
File to SQL Staging File to SQL Staging Description: The binary
code for the script is not found. Please open the script in the
designer by clicking Edit Script button and make sure it builds
successfully. End Error Error: 2015-11-12 04:38:54.88 Code:
0x00000004 Source: File to SQL Staging Description: The
binary code for the script is not found. Please open the script in the
designer by clicking Edit Script button and make sure it builds
successfully. End Error Error: 2015-11-12 04:38:54.88 Code:
0xC0024107 Source: File to SQL Staging Description: There
were errors during task validation. End Error DTExec: The package
execution returned DTSER_FAILURE (1). Started: 4:38:42 AM Finished:
4:38:54 AM Elapsed: 12.422 seconds. The package execution failed.
The step failed.
Can you please let us know the reason for error.

ssis output to file error in job - Cannot open the datafile

I have a ssis job scheduled to run.
It executes a procedure and then selects from a table to output to a file.
The ssis package runs fine in ssis and manually running the dtsx file.
When it runs as a job, all of it completes fine except the part where it tries to save to a file.
Here's the error ( i removed hostname\username)
Executed as user: {hostnamexxx\usernamexxx}. Microsoft (R) SQL Server
Execute Package Utility
Version 10.0.1600.22 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 2:33:29 PM
Error: 2014-09-30 14:36:23.57
Code: 0xC020200E
Source: Data Flow Task Flat File Destination [22]
Description: Cannot open the datafile "P:\\Ordbsjia_ORDER_0003637.DAT".
End Error
Error: 2014-09-30 14:36:23.57
Code: 0xC004701A
Source: Data Flow Task SSIS.Pipeline
Description: component "Flat File Destination" (22) failed the pre-execute phase and returned error code 0xC020200E.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 2:33:29 PM
Finished: 2:36:23 PM
Elapsed: 174.422 seconds. The package execution failed. The step failed.