Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 19th, 2003, 09:17 PM
Authorized User
 
Join Date: Jun 2003
Location: Shah Alam, Selangor, Malaysia.
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
  #2 (permalink)  
Old November 20th, 2003, 06:03 AM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 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.
  #3 (permalink)  
Old November 20th, 2003, 10:35 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
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
  #4 (permalink)  
Old November 20th, 2003, 04:04 PM
Authorized User
 
Join Date: Jul 2003
Location: Clearwater, FL, USA.
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



  #5 (permalink)  
Old November 21st, 2003, 04:33 AM
Authorized User
 
Join Date: Jun 2003
Location: Shah Alam, Selangor, Malaysia.
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
  #6 (permalink)  
Old November 21st, 2003, 05:20 AM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 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.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.