dbTalk Databases Forums  

File Task Rename or Copy Failing

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss File Task Rename or Copy Failing in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jenileo
 
Posts: n/a

Default File Task Rename or Copy Failing - 11-10-2006 , 01:34 PM






Hello!

I have a few File Tasks in SSIS that rename files. Through Visual
Studio I can execute the package and it works great. When I attempt
run this pacakge via SQL Agent, Command Line or the Integrated Services
Engine it will finish with success however the files that are supposed
to be renamed are all gone. When I look at the logs SSIS states it is
deleting those files. I verified the File Tasks are set to rename and
not delete. Has anyone else experienced this or understand what I may
be doing wrong? Thanks!!


Reply With Quote
  #2  
Old   
Arnie Rowland
 
Posts: n/a

Default Re: File Task Rename or Copy Failing - 11-10-2006 , 01:47 PM






Check the file and folder permission for the SQL Agent account.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"jenileo" <jenileo (AT) yahoo (DOT) com> wrote

Quote:
Hello!

I have a few File Tasks in SSIS that rename files. Through Visual
Studio I can execute the package and it works great. When I attempt
run this pacakge via SQL Agent, Command Line or the Integrated Services
Engine it will finish with success however the files that are supposed
to be renamed are all gone. When I look at the logs SSIS states it is
deleting those files. I verified the File Tasks are set to rename and
not delete. Has anyone else experienced this or understand what I may
be doing wrong? Thanks!!




Reply With Quote
  #3  
Old   
jenileo
 
Posts: n/a

Default Re: File Task Rename or Copy Failing - 11-10-2006 , 04:15 PM




Arnie Rowland wrote:
Quote:
Check the file and folder permission for the SQL Agent account.

I did check that to make sure. It's interesting because I can watch it
create the original file, the file size grows so the import to text is
successful, then it disappears. The log states the the file has been
deleted but the file name it uses is the new file name. Both the
original file and new file are gone.



Reply With Quote
  #4  
Old   
Arnie Rowland
 
Posts: n/a

Default Re: File Task Rename or Copy Failing - 11-10-2006 , 05:24 PM



It sounds like an step output file, that is written over by subsequent
steps.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"jenileo" <jenileo (AT) yahoo (DOT) com> wrote

Quote:
Arnie Rowland wrote:
Check the file and folder permission for the SQL Agent account.


I did check that to make sure. It's interesting because I can watch it
create the original file, the file size grows so the import to text is
successful, then it disappears. The log states the the file has been
deleted but the file name it uses is the new file name. Both the
original file and new file are gone.




Reply With Quote
  #5  
Old   
Arnie Rowland
 
Posts: n/a

Default Re: File Task Rename or Copy Failing - 11-10-2006 , 05:24 PM



It sounds like an step output file, that is written over by subsequent
steps.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"jenileo" <jenileo (AT) yahoo (DOT) com> wrote

Quote:
Arnie Rowland wrote:
Check the file and folder permission for the SQL Agent account.


I did check that to make sure. It's interesting because I can watch it
create the original file, the file size grows so the import to text is
successful, then it disappears. The log states the the file has been
deleted but the file name it uses is the new file name. Both the
original file and new file are gone.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.