Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
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
 
Old November 19th, 2003, 09:17 PM
Authorized User
 
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old November 20th, 2003, 06:03 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
 
Old November 20th, 2003, 10:35 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where is the DTS package saved? where is it scheduled? you may be saving it locally and scheduling it remote.




Sal
 
Old November 20th, 2003, 04:04 PM
Authorized User
 
Join Date: Jul 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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



 
Old November 21st, 2003, 04:33 AM
Authorized User
 
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i dunno how to check the setting, i had check before, cannot find out, any idea where i start to check it?



thanks
 
Old November 21st, 2003, 05:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
DTS scheduled jobs not finishing abob SQL Server DTS 0 July 13th, 2007 07:48 AM
DTS Package Fails When Scheduled kwilliams SQL Server DTS 4 December 23rd, 2005 02:47 PM
Scheduled DTS package does not work niravp SQL Server DTS 5 May 26th, 2004 11:38 AM
DTS Scheduled Jobs Errors Walden SQL Server DTS 10 March 16th, 2004 10:32 AM
Got duplicated records after running scheduled DTS hock_heng_ooi SQL Server DTS 0 August 27th, 2003 08:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.