Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

SSIS : Cannot open the datafile Expand / Collapse
Author
Message
Posted Wednesday, September 11, 2013 1:36 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 7:23 AM
Points: 15,506, Visits: 13,168
Does the SQL Server Agent account have permissions to open the file? Or are you using a proxy?



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1493877
Posted Thursday, February 5, 2015 9:12 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 6:17 AM
Points: 32, Visits: 772
I had this error. In my case, I had the wrong selection in the For Each Loop container. Under collection there are three options:

name and extension
fully qualified
name only

I made changes to a variable, and that impacted how the loop was reading the file name. After I updated the For Each Loop option, my package worked without an error.
Post #1657999
Posted Sunday, November 13, 2016 1:07 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Today @ 9:12 AM
Points: 3, Visits: 12
Have given all types of permissions, but no luck. Can someone help in resolving the error?

Error: [SSIS.Pipeline] Error: Read From CSV failed the pre-execute phase and returned error code 0xC020200E.
Post #1834234
Posted Monday, November 14, 2016 12:01 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: 2 days ago @ 7:30 PM
Points: 994, Visits: 1,935
bheema.ece12 (11/13/2016)
Have given all types of permissions, but no luck. Can someone help in resolving the error?

Error: [SSIS.Pipeline] Error: Read From CSV failed the pre-execute phase and returned error code 0xC020200E.


Does the file you are reading from exist? If so where and where are you running the package from? Your machine or on another machine?


----------------------------------------------------
How to post forum questions to get the best help
Post #1834603
Posted Monday, November 14, 2016 10:26 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Today @ 9:12 AM
Points: 3, Visits: 12
Hi Martin,

The file is stored on my machine and both DB and SSIS packages are running in my local machine itself.
Post #1834692
Posted Tuesday, November 15, 2016 11:00 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: 2 days ago @ 7:30 PM
Points: 994, Visits: 1,935
bheema.ece12 (11/14/2016)
Hi Martin,

The file is stored on my machine and both DB and SSIS packages are running in my local machine itself.

You'll have to provide some more information like the complete context in which you are working under, what you have in place and exactly where is the point of failure plus all messages that may pertain. It is not likely to be able to diagnose something with limited information.

It may be better for you to start a new thread.


----------------------------------------------------
How to post forum questions to get the best help
Post #1834966
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse