Hi,
I am executing a SSIS package with sql server agent (2008 R2), the package runs with VS does not return errors, running it with the agent I get this error:
Code: 0xC0047062
Source: 2_esporta file excel 2_1select db cliente [1]
Description: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][Driver Manager ODBC]
Architectural mismatch between the driver and the application specified in the DSN
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
in System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
in System.Data.Odbc.OdbcConnection.Open() in Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName,
String connStr, Object transaction) in Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction) in Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction) in Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction) End Error Error: 2012-05-18 12:12:31.48 Code: 0xC0047017 Source: 2_esporta file excel SSIS.Pipeline Description: component "2_1select db cliente" (1) failed validation and returned error code 0x80131937. End Error Error: 2012-05-18 12:12:31.48 Code: 0xC004700C Source: 2_esporta file excel SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-05-18 12:12:31.48 Code: 0xC0024107 Source: 2_esporta file excel Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:12:29 Finished: 12:12:31 Elapsed: 2.496 seconds. The package execution failed. The step failed.
The package queries a MySQL database.
I am executing a SSIS package with sql server agent (2008 R2), the package runs with VS does not return errors, running it with the agent I get this error:
Code: 0xC0047062
Source: 2_esporta file excel 2_1select db cliente [1]
Description: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][Driver Manager ODBC]
Architectural mismatch between the driver and the application specified in the DSN
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
in System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
in System.Data.Odbc.OdbcConnection.Open() in Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName,
String connStr, Object transaction) in Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction) in Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction) in Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction) End Error Error: 2012-05-18 12:12:31.48 Code: 0xC0047017 Source: 2_esporta file excel SSIS.Pipeline Description: component "2_1select db cliente" (1) failed validation and returned error code 0x80131937. End Error Error: 2012-05-18 12:12:31.48 Code: 0xC004700C Source: 2_esporta file excel SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-05-18 12:12:31.48 Code: 0xC0024107 Source: 2_esporta file excel Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:12:29 Finished: 12:12:31 Elapsed: 2.496 seconds. The package execution failed. The step failed.
The package queries a MySQL database.