Re: Batch File in DTS
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Tue, 31 Jul 2007 14:23:36 -0400
Hello,
I assume that you are running SQL Server 2000.
If you tested this on your desktop, then the DTS package was running with
your security credentials.
But, when you schedule the job the SQL Agent you will be running in the
server context with the credentials of either the server account (if the job
is run as a system administrator) or else of the SQL Agent proxy account.
If the necessary account does not have rights to the folders, then the job
will fail.
SQL Server 2005 supports many proxy accounts which can be granted the
appropriate rights. (Even your personal Windows login can be turned into a
SQL Agent proxy. (But I don't recomment that.))
RLF
"thanksforhelp" <thanksforhelp@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DB9FB32B-BB19-428F-B62A-AF33165E9726@xxxxxxxxxxxxxxxx
Hi,
I have a batch file, copies a xls file for one dir to another and delete
source file. This works in DTS package, but when I schedule the package,
it
fails.
Any help in ver much appreciated.
.
- Prev by Date: Re: bug 408202 dtsconfig already exists - fixed in a service pack yet?
- Previous by thread: Re: bug 408202 dtsconfig already exists - fixed in a service pack yet?
- Index(es):
Relevant Pages
|
Loading