Re: DTS schedule problem
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Thu, 8 Mar 2007 14:55:38 -0500
pelican,
I suspect that you still need to better understand the SQL Agent proxy,
since I infer from your original post that you are on a SQL Server 2000
installation. Who owns the scheduled SQL Agent job? Is it your login? (I
assume that it is.) Is your login a SQL sysadmin? (I assume that it is not.)
If your login is a sysadmin, then your SQL Agent job will run under the
server account's context and will have access to everything that it has
rights to.
If your login is not a sysadmin, then your SQL Agent job will run under the
rights of the SQL Agent proxy as defined in xp_sqlagent_proxy_account, not
under your personal rights. In that case, you must also grant the SQL Agent
proxy account rights.
Actually, for a scheduled job running on the server your personal file and
domain rights are ***meaningless*** since they cannot be used. But when you
run the package yourself, it is running under your personal file and domain
rights and so then it works.
RLF
"pelican" <pelican@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D2A73983-C074-4481-B2AD-913C9B53BDD5@xxxxxxxxxxxxxxxx
Thanks. I have tried the following:
1) the package is under the system account, which was only a SQL account.
I
asked the network admininstrator to give the system account access to the
whole server. The text file the package needs to copy from is on the same
server. I could still manually run the package successfully (which
includes
create a table, then copy the text file into the table just created). But
when it came to schedule the package as a SQL Server Agent job, it created
the SQL table, failed to copy the text file over. I got the same error
message saying "Access denied."
2). I asked the network administrator created a new domain aco*** that
had
access to the whole server. I got the same result as in 1). This new
domain
aco*** is a window's aco*** (server is NT).
What should I do next?
Any suggestion will be greatly appreciated.
Pelican
"pelican" wrote:
Hi everyone,
I tried to schedule a DTS package. I right click on the package and
select "Schedule Package." I filled in the job frequence as occuring
daily
every 20 minutes. Then I clicked "OK." Well, when I opened the
"Schedule
Package" window again, none of the values I entered was saved. I tried
several times, it just would not save my setting.
I went to look at Enterprise Help and it said that I should save the
package first in the Meta Data Service first. Well, the meta data
service
would not let me save either.
I have a feeling that something needs to be switched on before I can
schedule package or save a meta data service record. If yes, what will
that
be?
Thanks.
Pelican
.
- Follow-Ups:
- Re: DTS schedule problem
- From: pelican
- Re: DTS schedule problem
- Prev by Date: Re: Need help creating agent proxy for non-Windows login credentials
- Next by Date: Re: DTS schedule problem
- Previous by thread: Re: DTS schedule problem
- Next by thread: Re: DTS schedule problem
- Index(es):