ODBC errors on scheduled job only
Posted: Wed Feb 06, 2013 8:22 am
I have a simple job that connects to a local Access database and writes to a PEEK. When I run the job manually it is successful. When I schedule the job it consistently aborts with this error:
ODBC_CSI_AccessDB: ODBC function "SQLConnect" reported: SQLSTATE = HY000: Native Error Code = -1,022: Msg = [Microsoft][ODBC Microsoft Access Driver] Disk or network error.
ODBC function "SQLConnect" reported: SQLSTATE = IM006: Native Error Code = 0: Msg = [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (CC_OdbcConnection::connect, file CC_OdbcConnection.cpp, line 550)
I am able to schedule and successfully run other jobs that don't use ODBC connections.
I've traced the job and verified that the login id and password are being successfully passed.
Ideas?
ODBC_CSI_AccessDB: ODBC function "SQLConnect" reported: SQLSTATE = HY000: Native Error Code = -1,022: Msg = [Microsoft][ODBC Microsoft Access Driver] Disk or network error.
ODBC function "SQLConnect" reported: SQLSTATE = IM006: Native Error Code = 0: Msg = [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (CC_OdbcConnection::connect, file CC_OdbcConnection.cpp, line 550)
I am able to schedule and successfully run other jobs that don't use ODBC connections.
I've traced the job and verified that the login id and password are being successfully passed.
Ideas?