b***@gmail.com
2006-07-31 08:07:27 UTC
Here's a situation you won't find every day.
I have a big database project that I am taking over. There is a set of
6 DTS Packages that import 6 tables from the Timberline accounting
software via ODBC every night. A 7th DTS Package calls each one of
these 6 DTS packages and is Scheduled to run every night by the SQL
Server Agent.
The nightly update runs fine. The weird part is that if I try to run
7th Package, or any of the 6 individual packages, by right-clicking on
them and clicking "Execute Package", the package fails!
I could google for tons of results on permission issues when you could
Execute a Package but couldn't get it to run from the SQL Agent, but
this is the other way around.
The packages each delete the contents of a sql table and then use an
ODBC connection to query for live new data to re-populate the table.
The packages fail on the step where they are creating the ODBC link.
The error says something pretty close to "[ODBC Timeberline] Can't find
table 'TableName'".
I'm logged onto the SQL Server itself, and am using Windows
authentication for the SQL Agent. What in the world could be different
between using the SQL Agent to run the 7th "calling" package and
running that 7th package by right-click, Execute Package, that would
cause troubles with the ODBC link?
Thanks in advance,
Toby
I have a big database project that I am taking over. There is a set of
6 DTS Packages that import 6 tables from the Timberline accounting
software via ODBC every night. A 7th DTS Package calls each one of
these 6 DTS packages and is Scheduled to run every night by the SQL
Server Agent.
The nightly update runs fine. The weird part is that if I try to run
7th Package, or any of the 6 individual packages, by right-clicking on
them and clicking "Execute Package", the package fails!
I could google for tons of results on permission issues when you could
Execute a Package but couldn't get it to run from the SQL Agent, but
this is the other way around.
The packages each delete the contents of a sql table and then use an
ODBC connection to query for live new data to re-populate the table.
The packages fail on the step where they are creating the ODBC link.
The error says something pretty close to "[ODBC Timeberline] Can't find
table 'TableName'".
I'm logged onto the SQL Server itself, and am using Windows
authentication for the SQL Agent. What in the world could be different
between using the SQL Agent to run the 7th "calling" package and
running that 7th package by right-click, Execute Package, that would
cause troubles with the ODBC link?
Thanks in advance,
Toby