 |
| SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

November 19th, 2003, 09:17 PM
|
|
Authorized User
|
|
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Execute DTS on Scheduled Error
Hi,
I found out an error while I execute DTS on schedule, but i can manual execute on local package but not on schedule.
the error message is like this:
cannot found ODBC data source and no default ODBC found on OLEDB provider.
how can i solve a proble as this?
Thanks and regards
|
|

November 20th, 2003, 06:03 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you provide a datasource manually, or just use the default?
When you execute a package manually, the package runs under *your* user context. If it is executed by a schedule, it runs under the account that the SQL Server Agent runs under. Maybe this account has a different default database assigned.
Make sure you explicitly name your database in your connection. Also, make sure that the account that the SQL Server Agent runs under has sufficient permissions to perform the tasks in the DTS package.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

November 20th, 2003, 10:35 AM
|
|
Friend of Wrox
|
|
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Where is the DTS package saved? where is it scheduled? you may be saving it locally and scheduling it remote.
Sal
|
|

November 20th, 2003, 04:04 PM
|
|
Authorized User
|
|
Join Date: Jul 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Jane,
When you run a scheduled process you'll also want to make sure that you have any server aliases and/or ODBC DSN's setup on the server that are used in the DTS package and are already on your local machine. This is in addition to the security context difference that Imar mentioned.
Take care,
Jeff
|
|

November 21st, 2003, 04:33 AM
|
|
Authorized User
|
|
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i dunno how to check the setting, i had check before, cannot find out, any idea where i start to check it?
thanks
|
|

November 21st, 2003, 05:20 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
What setting are you referring to? We all suggested a different solution, so it may be useful if you indicate what setting you want to change.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |