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 February 12th, 2004, 11:32 AM
Registered User
 
Join Date: Feb 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem Scheduling a job on DTS package.

Problem with SQL 2000 DTS package scheduling and pulling the data off Access 2000 database.

I was trying to schedule a job using the DTS package. I had no problem with running it manually, but it failed when I scheduled the job. Few steps are involved in this job. The job Failed when it processed the step of pulling the data off the Access 2000 to SQL 2000 server. The access 2000 database resides on a different server from SQL 2000 server. We have used the net use command and tried to map the drive and all failed. We have taken care of the ownership of the package on both servers by giving the same user name on both server.


Any help will be very much appreciated.



 
Old February 12th, 2004, 12:13 PM
Authorized User
 
Join Date: Jul 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you schedule a job to run from the server, the package is run under a different user context than when you run it manually. Check the network login that the SQL Server Agent service is running under, this login should have rights to read the MS Access database you are trying to pull in.

One way around this is to setup the Proxy account, however for more information on this problem check out the following article:

http://www.sqlservercentral.com/colu...iewingpack.asp

(SQL Server Central requires a free registration in order to view their articles but it's well worth the time it takes to register!)

Good luck!
Jeff


 
Old February 12th, 2004, 02:12 PM
Registered User
 
Join Date: Feb 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The owner of the job is Server1/Administrator. Server2 also has the administrator username with the same password.

The job was scheduled to pull data from server2 to server1, while these two servers are under the same work group (not a domain). I wonder if the Server1/Administrator is just a local user name to server1 because the two servers are not under the same domain. Is that what you mean?

To fix this, I should create a proxy account. Is that right?

Thank you very much!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling a Job - Filewatcher carumuga SQL Server 2005 1 July 24th, 2008 11:14 AM
scheduling a DTS package psugak SQL Server DTS 3 March 29th, 2007 01:26 PM
Scheduling SQL Job through .NET savan_thakkar ASP.NET 1.0 and 1.1 Professional 0 July 18th, 2006 04:28 PM
job scheduling wizard vaneza SQL Server 2000 0 August 2nd, 2005 03:17 AM
Scheduling DTS Package chiefg SQL Server DTS 11 April 30th, 2004 11:18 AM





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