 |
| 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
|
|
|
|

November 4th, 2003, 04:13 PM
|
|
|
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
|
|

November 4th, 2003, 04:31 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

November 5th, 2003, 05:58 AM
|
|
|
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
|
|

November 5th, 2003, 06:23 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

November 5th, 2003, 06:48 AM
|
|
|
Many thanks, Imar, it worked.
Peter
|
|
 |