SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS package failure on renameing files Error code: 1073548540


SSIS package failure on renameing files Error code: 1073548540

Author
Message
Puja Shah
Puja Shah
Old Hand
Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)

Group: General Forum Members
Points: 318 Visits: 237
Hi,

I am getting following error when package is executed from BIDS:
Error: 0xC002F304 at File System Task, File System Task: An error occurred with the following error message: "Could not find file 'E:\Import\'.".

Error received through send mail task:
Error code: -1073548540
Error description: An error occurred with the following error message: "Could not find file 'E:\Import\'.".


Steps followed:
1. Created an SSIS package to load .txt and .csv files, perform insert/update/delete operations
2. Rename files before loading new data. (fails here)

Development environment:
SQL Server Version: SQL Server 2008 R2 SP2 (64-bit)
OS: Windows Server 2008 R2 Standard SP1 (64-bit)

Created BIDS project on server (logged in with my domain account)
Also gave full permissions (SQL server account, SQL agent account, my domain account) on parent folder containing SSIS project and export folder.
Tried Executing package from BIDS, File system and SQL Server (after importing)

Please let me know where am I going wrong.
Verified file task mentioned on :
http://help.pragmaticworks.com/dtsxchange/index.htm#page=FAQ%20-%20How%20to%20loop%20through%20files%20in%20a%20specified%20folder,%20load%20one%20by%20one%20and%20move%20to%20archive%20folder%20using%20SSIS.htm

PS: BIDS project created in user profile and executing from same (this was failing), so moved to server drive and changed all paths accordingly (still failing).
Same works successfully on my laptop.

Thanks in advance.
Any suggestions are very much appreciated.

-Puja
Phil Parkin
Phil Parkin
SSCoach
SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)

Group: General Forum Members
Points: 18362 Visits: 20416
If E: is not a local drive on the server, I would try using a UNC file path instead.


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
Puja Shah
Puja Shah
Old Hand
Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)

Group: General Forum Members
Points: 318 Visits: 237
Thanks Phil for quick reply.

E: drive is local to SQL box. Gave path as \\servername\e$\Import
Still not working Sad

-Puja
Puja Shah
Puja Shah
Old Hand
Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)Old Hand (318 reputation)

Group: General Forum Members
Points: 318 Visits: 237
Its working fine. Was using wrong source path variable. Also have added SQL service account and agent account as admin on local drive.

Thanks once again!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search