RE: DTS Package fails when Scheduled
- From: Servando Canales <ServandoCanales@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Jan 2007 08:25:01 -0800
Make sure the ODBC connection is a system DSN source (for every account to
view and use)
Scheduled jobs run in the context of the SQL Server Agent service account
(whatever you specified : Local System, a user account, etc). Probably that
is why this account cannot contact your defined DSN source, or it does not
have the appropriate permissions to connect to whatever Database you defined
on your DSN
Servando
"Chuck G." wrote:
I am running SQL 2000. I have a DTS that imports an Access database from a.
remote source into my SQL server. When I excecute the DTS manually it runs
perfectly, but when run as a Scheduled job I get the following error:
Executed as user: SQLSERVER\SYSTEM. DTSRun: Loading... DTSRun:
Executing... DTSRun OnStart: Copy Data from Results to Results Step
DTSRun OnError: Copy Data from Results to Results Step, Error = -2147467259
(80004005) Error string: [Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified
Obviously the ODBC connection is not at fault since the package ruins fine
when not scheduled. I am looking at permissions, as the DTS scheduled job
password is different from the Access ODBC password. It doesn't make a lot
of sense that the job password would be passed onto the ODBC, but I am at a
loss.
Any ideas?
- References:
- DTS Package fails when Scheduled
- From: Chuck G.
- DTS Package fails when Scheduled
- Prev by Date: Re: Variable - Capture Running Count of Errors
- Next by Date: RE: Looping through tables
- Previous by thread: DTS Package fails when Scheduled
- Next by thread: RE: DTS Package fails when Scheduled
- Index(es):
Relevant Pages
|