sql server 2008 - SQL Agent job fails to execute -


this question has answer here:

i run package in server, worked fine when used run in sql agent job, failed execute.

microsoft (r) sql server execute package utility version 10.50.4000.0 64-bit copyright (c) microsoft corporation 2010. rights reserved. started: 2:05:54 pm error: 2014-02-05 14:06:00.54 code: 0xc0047062 source: data flow task ado net source [1] description: system.data.odbc.odbcexception: error [im002] [microsoft][odbc driver manager] data source name not found , no default driver specified @ system.data.odbc.odbcconnection.handleerror(odbchandle hrhandle, retcode retcode) @ system.data.odbc.odbcconnectionhandle..ctor(odbcconnection connection, odbcconnectionstring constr, odbcenvironmenthandle environmenthandle) @ system.data.odbc.odbcconnectionopen..ctor(odbcconnection outerconnection, odbcconnectionstring connectionoptions) @ system.data.odbc.odbcconnectionfactory.createconnection(dbconnectionoptions options, object poolgroupproviderinfo, dbconnectionpool pool, dbconnection owningobject) @ system.data.providerbase.dbconnectionfactory.createnonpooledconnection(dbconnection owningconnection, dbconnectionpoolgroup poolgroup) @ system.data.providerbase.dbconnectionfactory.getconnection(dbconnection owningconnection) @ system.data.providerbase.dbconnectionclosed.openconnection(dbconnection outerconnection, dbconnectionfactory connectionfactory) @ system.data.odbc.odbcconnection.open() @ microsoft.sqlserver.dts.runtime.managedhelper.getmanagedconnection(string assemblyqualifiedname, string connstr, object transaction) @ microsoft.sqlserver.dts.runtime.wrapper.idtsconnectionmanager100.acquireconnection(object ptransaction) @ microsoft.sqlserver.dts.pipeline.datareadersourceadapter.acquireconnections(object transaction) @ microsoft.sqlserver.dts.pipeline.managedcomponenthost.hostacquireconnections(idtsmanagedcomponentwrapper100 wrapper, object transaction) end error error: 2014-02-05 14:06:00.55 code: 0xc0047017 source: data flow task ssis.pipeline description: component "ado net source" (1) failed validation , returned error code 0x80131937. end error error: 2014-02-05 14:06:00.55 code: 0xc004700c source: data flow task ssis.pipeline description: 1 or more component failed validation. end error error: 2014-02-05 14:06:00.55 code: 0xc0024107 source: data flow task description: there errors during task validation. end error dtexec: package execution returned dtser_failure (1). started: 2:05:54 pm finished: 2:06:00 pm elapsed: 5.625 seconds. package execution failed. step failed.

this sort of thing commonly down 32/64 bit issues. may developing in bids recognises 32bit odbc driver , deploying 64bit version of sql server.

you can try enabling 32 bit runtime agent job step or making sure have correct versions of appropriate drivers installed , configured.

try this: http://microsoft-ssis.blogspot.co.uk/2012/09/swtich-package-from-64bit-to-32bit.html


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -