Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 4th, 2003, 04:13 PM
ppenn
Guest
 
Posts: n/a
Default DTS Schedule import data fails

I am trying to set up as scheduled daily import data from a txt file into SQL Server 2000 table on Window2000 server, when I set up the job as run immediately, it work fine, it doesn't work as scheduled, the message I am getting is about the security issue, which I am not sure, has anyone any idea as to what the problem is, thanks.

Regards

Peter
 
Old November 4th, 2003, 04:31 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

What may be the problem is that when you run the package, it runs as you. Apparently, you have enough rights to access specific databases or other network resources.

Make sure that the account that SQL Server is running under (or the SQL Server Agent, I am not sure, although on second thought the Agent seems to make more sense) has enough permissions to access the resources your DTS package tries to access.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old November 5th, 2003, 05:58 AM
ppenn
Guest
 
Posts: n/a
Default

Hi, Imar
Thank you for your message.
what do you mean by make sure the account that SQL Server is running has permissions to access DTS package? I have tried schedulling packages using Window's login and specific permission to the Database, both have failed.

king regards

peter
 
Old November 5th, 2003, 06:23 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In order to check the account, try this:

1. Open Enterprise Manager
2. Open your server node
3. Open Management
4. Right-click SQL Server Agent.
5. On the General tab, select an account under Service startup account and make sure this account is allowed to do what it has to do in your package.

I think this should do the trick, although I am not 100% sure.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old November 5th, 2003, 06:48 AM
ppenn
Guest
 
Posts: n/a
Default

Many thanks, Imar, it worked.

Peter




Similar Threads
Thread Thread Starter Forum Replies Last Post
DTS Schedule Package Ques bekim SQL Server DTS 11 June 6th, 2007 06:00 AM
DTS Package Fails When Scheduled kwilliams SQL Server DTS 4 December 23rd, 2005 02:47 PM
DTS package fails: [DBNETLIB]..... rrhandle SQL Server DTS 0 May 19th, 2005 07:29 PM
Can only members of sysadmin schedule DTS jobs? Crowandazi SQL Server DTS 1 March 10th, 2005 02:53 AM
Unable to Schedule or See Existing DTS Jobs Crowandazi SQL Server DTS 1 March 4th, 2005 03:43 PM





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