SQL Clone
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-Enthusiastic
SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)

Group: General Forum Members
Points: 120 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
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

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

Steve
‌(aka sgmunson)
Smile Smile Smile
Health & Nutrition
dfine
dfine
Right there with Babe
Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)

Group: General Forum Members
Points: 714 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