markserv
asked on
SQL 2008 Server Agent fails job based on architecture mismatch
HI,
I have an SSIS package that works fine when i manually execute it in SQL Server 2008 via the Execute Package Utility (or via the BIDS) however I've set up an SQL Server Agent to run this package nightly and it fails every night with the below messages.
Executed as user: MS\administrator. Microsoft (R) SQL Server Execute Package Utility Version 10.0.2531.0 for 64-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 10:50:03 AM Error: 2011-02-15 10:50:11.43 Code: 0xC0047062
Source: RETRIVE VWPostPhoneData ADO NET Source 1 [71]
Description: System.Data.Odbc.OdbcExcep tion: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
at System.Data.Odbc.OdbcConne ction.Hand leError(Od bcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcConne ctionHandl e..ctor(Od bcConnecti on connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
at System.Data.Odbc.OdbcConne ctionOpen. .ctor(Odbc Connection outerConnection, OdbcConnectionString connectionOptions)
at System.Data.Odbc.OdbcConne ctionFacto ry.CreateC onnection( DbConnecti onOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.D bConnectio nFactory.C reateNonPo oledConnec tion(DbCon nection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.D bConnectio nFactory.G etConnecti on(DbConne ction owningConnection)
at System.Data.ProviderBase.D bConnectio nClosed.Op enConnecti on(DbConne ction outerConnection, DbConnectionFactory connectionFactory)
at System.Data.Odbc.OdbcConne ction.Open ()
at Microsoft.SqlServer.Dts.Ru ntime.Mana gedHelper. GetManaged Connection (String assemblyQualifiedName, String connStr, Object transaction)
at Microsoft.SqlServer.Dts.Ru ntime.Wrap per.IDTSCo nnectionMa nager100.A cquireConn ection(Obj ect pTransaction)
at Microsoft.SqlServer.Dts.Pi peline.Dat aReaderSou rceAdapter .AcquireCo nnections( Object transaction)
at Microsoft.SqlServer.Dts.Pi peline.Man agedCompon entHost.Ho stAcquireC onnections (IDTSManag edComponen tWrapper10 0 wrapper, Object transaction)
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC0047017
Source: RETRIVE VWPostPhoneData SSIS.Pipeline
Description: component "ADO NET Source 1" (71) failed validation and returned error code 0x80131937.
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC004700C
Source: RETRIVE VWPostPhoneData SSIS.Pipeline
Description: One or more component failed validation.
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC0024107
Source: RETRIVE VWPostPhoneData
Description: There were errors during task validation.
End Error DTExec: The package execution returned DTSER_FAILURE (1).
Started: 10:50:03 AM Finished: 10:50:11 AM Elapsed: 7.937 seconds. The package execution failed. The step failed.
I have an SSIS package that works fine when i manually execute it in SQL Server 2008 via the Execute Package Utility (or via the BIDS) however I've set up an SQL Server Agent to run this package nightly and it fails every night with the below messages.
Executed as user: MS\administrator. Microsoft (R) SQL Server Execute Package Utility Version 10.0.2531.0 for 64-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 10:50:03 AM Error: 2011-02-15 10:50:11.43 Code: 0xC0047062
Source: RETRIVE VWPostPhoneData ADO NET Source 1 [71]
Description: System.Data.Odbc.OdbcExcep
at System.Data.Odbc.OdbcConne
at System.Data.Odbc.OdbcConne
at System.Data.Odbc.OdbcConne
at System.Data.Odbc.OdbcConne
at System.Data.ProviderBase.D
at System.Data.ProviderBase.D
at System.Data.ProviderBase.D
at System.Data.Odbc.OdbcConne
at Microsoft.SqlServer.Dts.Ru
at Microsoft.SqlServer.Dts.Ru
at Microsoft.SqlServer.Dts.Pi
at Microsoft.SqlServer.Dts.Pi
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC0047017
Source: RETRIVE VWPostPhoneData SSIS.Pipeline
Description: component "ADO NET Source 1" (71) failed validation and returned error code 0x80131937.
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC004700C
Source: RETRIVE VWPostPhoneData SSIS.Pipeline
Description: One or more component failed validation.
End Error Error: 2011-02-15 10:50:11.44
Code: 0xC0024107
Source: RETRIVE VWPostPhoneData
Description: There were errors during task validation.
End Error DTExec: The package execution returned DTSER_FAILURE (1).
Started: 10:50:03 AM Finished: 10:50:11 AM Elapsed: 7.937 seconds. The package execution failed. The step failed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Looks like it was compiled using an ODBC from the 64-bit tool. also needed to modify the SQL Server Agent to run in 32-bit mode.
ASKER
terribly sorry for the late reply on this one.
when i run the ssis package it's being run on the same machine that the package was made.