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
| FAQ | Members List | 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 April 27th, 2004, 04:29 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Scheduling DTS Package

I created a DTS Package and I am trying to schedule it to run. The package runs fine when I run it manually, but when I try to schedule it to run, it fails. Can you provide me with some assistance in setting it up to run. Your help would be greatly appreciated.


  #2 (permalink)  
Old April 27th, 2004, 04:40 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

When you schedule a package make sure you use your services account that has the right permission to execute DTS packages. Make sure that account has access to the msdb database. On the job "Owner" name select the account which will run your job ( which I suggest "SA".


  #3 (permalink)  
Old April 28th, 2004, 01:18 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry. This is my first time using DTS. How do I determine the services account that has the right permission to execute DTS packages?

  #4 (permalink)  
Old April 28th, 2004, 03:39 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

If your are running your SQLSERVERAGENT you set an account to run your services;under certain situation (before sp3a) this account was an admin account with server administrator role in SQL. In order for you to run execute DTS packages you must make sure the account has at least dbowner on the msdb database. Once this is done; on Enterprise Manager drill down
-->data transformation Services
-->local packages
--> right click your DTS Package
--> select schedule package
Schedule how you want in to run
Under General you should see "Owner"
select "SA" from the drop down list
That account is has the highest permission and privileges on your database.

I hope this helps. If it does not i will email you the screen shots

  #5 (permalink)  
Old April 28th, 2004, 11:54 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I followed the steps you listed, but the job failed when it was scheduled to run. I received the following message in the Job History:

The job failed. The Job was invoked by Schedule 16 (Dashboard Reporting Data Extracts). The last step to run was step 1 (Dashboard Reporting Data Extracts).

  #6 (permalink)  
Old April 29th, 2004, 06:52 AM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

Try running directly from the server. using the SA account

  #7 (permalink)  
Old April 29th, 2004, 09:16 AM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try running the scheduled job or the package? Can I change the owner of the job to the SA Account? I did change the owner of the job to SA.

When I try Start job, I get the same message I listed before. The only difference is that is says the job was invoked by my user name.


  #8 (permalink)  
Old April 29th, 2004, 09:40 AM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

That means you either log on to the server using your user name (using windows authentication) can your service account log on to the server. You must use this account to log on to the server then invoke that job using the service account credentials.

are you an SA on SQL?
if your not add your self to the sys administrator account and test it.

  #9 (permalink)  
Old April 29th, 2004, 02:13 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

With the DTS package I am writing data to an excel file onto a server. I think my problem is that the sql services account does not have permissions to write to this server.

  #10 (permalink)  
Old April 29th, 2004, 04:15 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

If that is the case you are right. The at account must have permission to log on to the server where your file exist.

 


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
Scheduling - SSIS package carumuga SQL Server DTS 0 October 10th, 2008 01:50 AM
scheduling a DTS package psugak SQL Server DTS 3 March 29th, 2007 01:26 PM
Scheduling package with sequence container wssaravanan SQL Server 2005 0 June 27th, 2006 06:56 AM
Scheduling DTS task on SQL Server 2005 ahamilto SQL Server DTS 4 March 29th, 2006 01:51 PM
Problem Scheduling a job on DTS package. pooh2323 SQL Server DTS 2 February 12th, 2004 02:12 PM



All times are GMT -4. The time now is 03:07 PM.


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