Re: can't find directory when package scheduled as job
- From: Sue Hoegemeier <Sue_H@xxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 13:02:23 -0600
It can be flaky though as you are still using a mapped drive
and they are profile dependent, are not always that reliable
with service accounts. Try using a UNC path instead:
\\ServerName\ShareName\WhateverPath
-Sue
On Mon, 24 Apr 2006 11:28:18 -0400, "Walter Mallon"
<waltmallon@xxxxxxxxx> wrote:
Thanks. I think the issue is that according to the knowlege base article
the sql server agent can't see mapped drived letters (which makes sense as
they are stored in my profile). I will have to use the net use command in
the batch file to map the drive. That may work.
Thanks again.
Walter
"Allan Mitchell" <allan@xxxxxxxxxxxxxxxxxx> wrote in message
news:eHzEP$6ZGHA.4060@xxxxxxxxxxxxxxxxxxxxxxx
The service account might be your account but that does not necessarily
mean the package will run as you.
Have a look here
http://support.microsoft.com/?kbid=269074
--
Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com
"Walter Mallon" <waltmallon@xxxxxxxxx> wrote in message
news:et%23bm46ZGHA.4292@xxxxxxxxxxxxxxxxxxxxxxx
I have a DTS package (sql 2000 sp4) that executes correctly when I run it
from the DTS designer but fails when it is scheduled as a SQL Server Agent
job. My sql agent and sql server services both run under my Windows
account.
The failing step is an execute process task that calls a .bat file on a
network drive. The batch file does as follows
p:
cd \email\hold\decrypt\
java ..... [parameter string]
This step calls a java program that decrypts a file.
The error I get is "c:\program files\common files\system\msmapi\1033>p:
The system cannot find the drive specified."
I would think that this would work just fine as the sql agent job runs
under my windows account and the packages executes correctly when run via
the DTS Designer.
Can someone shed some light on this for me.
Many thanks!
Walter
waltmallon@xxxxxxxxx
.
- References:
- can't find directory when package scheduled as job
- From: Walter Mallon
- Re: can't find directory when package scheduled as job
- From: Allan Mitchell
- Re: can't find directory when package scheduled as job
- From: Walter Mallon
- can't find directory when package scheduled as job
- Prev by Date: Re: Progress information
- Next by Date: Monitoring an SSIS package from vb.net + Dts.Step
- Previous by thread: Re: can't find directory when package scheduled as job
- Next by thread: Re: DTS Package Order
- Index(es):
Relevant Pages
|