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


File system task error - Could not find a part of the path


File system task error - Could not find a part of the path

Author
Message
kbatta
kbatta
SSC-Addicted
SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)

Group: General Forum Members
Points: 490 Visits: 336
I am trying to move a folder from one location to another and am using a file system task to accomplish this. I am using "Move directory" and variables for the source and destination. The to folder does not exist but \\File-02\DevSSIS\Applications\Results\Failure\ does exist.

The parameter values are

From folder: \\File-02\DevSSIS\Applications\Uploads\MarketBasket\NatlShare\PROCESSING_ABBIL_kbatta_20080918000000\

To folder: \\File-02\DevSSIS\Applications\Results\Failure\ABBIL_kbatta_20080918000000\

I keep getting the following error:
OnError,,,FST_ArchiveFailure,9/30/2008 7:40:49 AM,9/30/2008 7:40:49 AM,-1073548540,0x,An error occurred with the following error message: "Could not find a part of the path '\\File-02\DevSSIS\Applications\Results\Failure\ABBIL_kbatta_20080918000000\'.".

Both variables are set to EvaluateAsExpression true and the file system task has DelayValidation true.

I have tried the folder names with and without "\" at the end.
ramu4ind
ramu4ind
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 200
check the issourcepathvariable true.IsDestinationPathVariable True and OverwriteDestination True .It might helps.
kbatta
kbatta
SSC-Addicted
SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)SSC-Addicted (490 reputation)

Group: General Forum Members
Points: 490 Visits: 336
They are all true.
john.clare-1010552
john.clare-1010552
SSC Rookie
SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)

Group: General Forum Members
Points: 42 Visits: 10
Hi Mate,

It seems to be a bug in SQL Server if you supply a file name!

As a work around I have used 2 file system tasks. The first copies the file and the second deletes the original.

More info here - http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=180741

Jc
john.clare-1010552
john.clare-1010552
SSC Rookie
SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)SSC Rookie (42 reputation)

Group: General Forum Members
Points: 42 Visits: 10
Hi Mate,

It seems to be a bug in SQL Server if you supply a file name!

As a work around I have used 2 file system tasks. The first copies the file and the second deletes the original.

More info here - http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=180741

Jc
Theron Knapp
Theron Knapp
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 78
The better answer for this is to use rename. Rename will accept a new path and effectively do the same thing as your copy then delete, but in a single step.
david.sidhu
david.sidhu
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 11
Another solution for us was to use the IP address. It seems like SSIS/SQL Server had issues resolving the domain name.
william.scott 34593
william.scott 34593
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 187
Thanks, rename instead of move worked great!
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