Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The system cannot find the path specified.


The system cannot find the path specified.

Author
Message
zoom19
zoom19
SSC Rookie
SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)

Group: General Forum Members
Points: 26 Visits: 302
Below I am getting error for my package.

[Flat File [900]] Warning: The system cannot find the path specified.


[ Flat File [900]] Error: Cannot open the datafile "".

[SSIS.Pipeline] Error: component "Flat File" (900) failed the pre-execute phase and returned error code 0xC020200E.

------
I checked my variable path for flat file connection which is right.

"c:\\Paychex\\Custom-"+".csv" this is my path expression

and my csv file name is like (Custom-4232013123150.csv)

can you please help me out with this. Thanks in advance for your help.



(I am new with ssis)
sgmunson
sgmunson
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2867 Visits: 3775
Umm.... how about the double back-slashes ("\\") ? Shouldn't those be single back-slashes ("\") ?

Steve
‌(aka sgmunson)
Smile Smile Smile
Health & Nutrition
dfine
dfine
SSChasing Mays
SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)SSChasing Mays (621 reputation)

Group: General Forum Members
Points: 621 Visits: 597
looking at the file name and expression, you are missing variable in your expression

The correct expression should be like this

"c:\\Paychex\\Custom-"+ @[User::variablename] + ".csv"

Raj
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