Flat file connection: The file name "\server\share\path\file.txt" specified in the connection was not valid

I'm trying to execute a SSIS package via SQL agent with a flat file source - however it fails with Code: 0xC001401E The file name "\server\share\path\file.txt" specified in the connection was not valid.
It appears that the problem is with the rights of the user that's running the package (it's a proxy account). If I use a higher-privelege account (domain admin) to run the package it completes successfully. But this is not a long-term solution, and I can't
see a reason why the user doesn't have rights to the file. The effective permissions of the file and parent folder both give the user full control. The user has full control over the share as well. The user can access the file (copy, etc) outside the SSIS
package.
Running the package manually via DTExec gives me the same error - I've tried 32 and 64bit versions with the same result. But running as a domain admin works correctly every time.
I feel like I've been beating my head against a brick wall on this one... Is there some sort of magic permissions, file or otherwise, that are required to use a flat file target in an SSIS package?

Hi Rossco150,
I have tried to reproduce the issue in my test environment (Windows Server 2012 R2 + SQL Server 2008 R2), however, everything goes well with the permission settings as you mentioned. In my test, the permissions of the folders are set as follows:
\\ServerName\Temp  --- Read
\\ServerName\Temp\Source  --- No access
\\ServerName\Temp\Source\Flat Files --- Full control
I suspect that your permission settings on the folders are not absolutely as you said above. Could you double check the permission settings on each level of the folder hierarchy? In addition, check the “Execute as user” information from job history to make
sure the job was running in the proxy security context indeed. Which version of SSIS are you using? If possible, I suggest that you install the latest Service Pack for you SQL Server or even install the latest CU patch. 
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support

Similar Messages

  • Changing the Tape Name of a media file

    I need to change the Tape Name of an hour long media file that I captured a while ago.
    (Gave it the wrong name and didn't notice til today.)
    Is this possible?
    Can I use the new name if sometime down the line I need to recapture the media?
    Or are my only options to recapture or use the old name?
    I haven't done anything with the file, haven't started the edit yet.
    I need to change the Tape Name as well as the File Name and move it into a new FCP project.

    I wish I could share your conviction on this working. I have had many instances of reel number changes not following through the workflow. (afaik reel number info is not embedded into the quicktime file, it remains within the fcp project file. how can you see its there in the quicktime file Michael? ) only too frequently do reel numbers get corrected and then revert to the original bad reel number.
    I know this can be rectified by entering the right reel number in the first place, but human nature being what it is, especially when a big team is involved in ingesting footage, errors will creep in.
    our solution here is to maintain a clear trail to the source tape by prefixing the tape no into the name column.
    FCP's media managing being what it is, this has worked reliably for us.
    regards
    andy
    mac pro 2,66, 4gig ram, quad 2.5ghz g5, 4.5 gig ram,   Mac OS X (10.4.8)   G4 powerbook 1.67gHz, 2gig ram

  • In Elements 13, when trying to save, I get this message:Could not save a copy as "agb3_2014:09_054.tif" because the file name was not valid.

    Hi:
    I use Nikon NX2 then save as a TIFF file then do final editing in Elements.  With Elements 8, I could then save as a JPEG file and upload to Flickr.  With Elements 13, I get this message and cannot save:
    Could not save a copy as “agb3_2014:09_054.tif” because the file name was not valid.
    I note the colon (:) in the file name.  I did not place it there.  It is some automatic save.  Typically I save as 2014/09
    It is probably some setting I need to adjust but I am stumped.  All help is welcome.
    Thanks
    Al
    Message was edited by: Albert Butzer

    Don't use the slash, either. Stick to no punctuation except dashes and underscores for safety's sake. Other punctuation usually has another meaning in code.

  • Could not initialize photoshop, because the file name was not valid

    Hello,
    my friend (not very good with computers) asked me to fix his Photoshop 8, because "it just stopped working one day". When I try to run it, I see splash screen, initializing photoshop, something about TWAIN, and then:
    Could not initialize Photoshop, because the file name was not valid
    followed by crashing the Photoshop. I tried reinstalling Photoshop, resetting user preferences, even deleting all user settings from Documents and Settings folder, but nothing - I keep getting this error. I tried plugging in his camera, usb flash disks, because I thought Photoshop may created scratch file or something in there - but it didnt work.
    So I decided to install him my copy of Photoshop CS3, just to make sure its some bug in Photoshop 8, but I didnt believe my eyes - after installing, im getting the exact error again.
    And now Im completely lost - I was unable to google the error message, looks like Im the first person ever who happened to see it.
    His computer is about two years old, 2 GHz cpu, 512 MB RAM, some decent video card, 100 GB space left on disks, operating system is Win XP SP2.
    I would really appreciate any help, thank you in advance
    Peter

    >Yes, many times.
    :) never hurts to ask!
    also have you tried creating a new user with admin rights to see if it's an id issue? (sorry, there's several similar theads going on and i sometimes forget what i've read where.) there was just a guy yesterday that solved a similar problem by creating a new id. we could never tell what the problem was with the old one...

  • "Could not complete the image size command because the file name was not valid"

    Hello,
    Some one please help me,when i try to resize psd file its showing this message ...whats the issue ???
    "Could not complete the image size command because the file name was not valid"
    Thanks !

    Can you change other images via Image > Image Size?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)

  • C Programming: How can we get the filesystem name for a given file-path?

    C Programming: How can we get the filesystem name for a given file-path?
    Say I have a filepath=/mnt1/file1
    Using some OS API like stat, can I get the Filesystem /mnt ?
    Thanks in advance,
    -V

    Enter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
    If you need to go further into the contents of the Application package, you can continue with /Contents...
    Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
    So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
    Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app

  • How to find the dsn name from an *.rpd file provided?

    How to find the dsn name from an *.rpd file provided? All the ODBC details which would require to run your dashboard.

    Hi
    DSN name is not a part of .rpd file. So There is no information about DSN name in .rpd file.
    Thanks
    Siddhartha P

  • HT201250 I had files stored on a hard drive that were not on my Mac. I used the hard drive for my first Time Machine back up, but it was not enough hard drive space to finish. Now those stored files are gone. Is there any way I can recover them?

    I had files stored on a hard drive that were not on my Mac. I used the hard drive for my first Time Machine back up, but it was not enough hard drive space to finish. Now those stored files are gone. Is there any way I can recover them?  No, they were not part of previous Time Machine backups, and I have checked both the hard drive the documents were lost on and the new one that I now use for backups. Any suggestions would be helpful, as the lost files are old pictures that are gone forever. :[ Thanks!

    1. Yes, if both drives are formatted as Mac OS Extended (Journaled).
    2. Reformat the drives if needed, open the Time Machine pane of System Preferences, and remove the drive with the pictures from the list of items set to be excluded.
    (110331)

  • The setting ExternalProxy in the Web.Config file was not valid.

    Since installing Exchange 2010 SP1 (Upgrade from RTM) I get this in the event viewer.
    The setting ExternalProxy in the Web.Config file was not valid. The previous value was null and has been changed to .
    Any ideas what to check?

    I'm also getting a number of these errors on Exchange 2010 SP1 RU1, the settings that I get notified include (the values have been changed to a number of diferent values):
    ExternalProxy
    BootstrapMailDeliveryDelay
    MobileUpdateInformationURL
    BootstrapCABForWM61HostingURL
    FullServerVersion
    ADCacheMaxOrgCount
    ADCacheExpirationTimeout
    MaxDocumentDataSize
    MaxDocumentLibrarySearchResults
    MaxGALSearchResults
    BadItemEmailToText
    BadItemIncludeEmailToText
    BadItemIncludeStackTrace
    MaxClientSentBadItems
    MailboxSearchTimeoutNoContentIndexing
    MailboxSearchTimeout
    MaxMailboxSearchResults
    MaxRequestsQueued
    MaxWorkerThreadsPerProc
    MaxCollectionsToLog
    ProxyConnectionPoolConnectionLimit
    ProxyHandlerShortTimeout
    ProxyHandlerLongTimeout
    BackOffErrorWindow
    BackOffTimeOut
    BackOffThreshold
    ProxyVirtualDirectory
    BlockLegacyMailboxes
    BlockNewMailboxes
    SchemaValidate
    SchemaDirectory
    SyncLogDirectory
    SyncLogEnabled
    DisableCaching
    DeviceClassCacheADCleanupInterval
    DeviceClassPerOrgMaxADCount
    DeviceClassCachePerOrgRefreshInterval
    DeviceClassCacheMaxADUploadCount
    DeviceClassCacheMaxStartDelay
    MaxWindowSize
    MaxRetrievedItems
    EventQueuePollingInterval
    ADCacheRefreshInterval
    MaxSizeOfMailboxLog
    NumOfQueuedMailboxLogEntries
    MaxNumOfFolders
    Can these be resolved in a similar manner. Some additional information would be great (as sjoegarrett I can also ignore them, but would prefer if these could be eliminated).

  • HT1339 i cant log into instagram fro my ipod it says error & connection to log in server is in error. i deleted & installed the app again. it still wont allow me to log in what can i do ?

    i cant log into instagram fro my ipod it says error & connection to log in server is in error. i deleted & installed the app again. it still wont allow me to log in what can i do ?

    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod

  • Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Try this:
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings  (or for network connection issues 'reset network settings').
    (no media or data will be deleted from the device, this will only take a minute).

  • My images are still in the catalog, but the Folder name has disappeared. I need to get the folder back into my structure with the images in place

    Help: I have a very well defined folder structure. Folder are located in a Master location and organized by State. Inside of these are my master RAW file folders organized by location. For example: West Virginia > BIRI_RAW_2012, BLFA_RAW_2013, NERI_RAW_2013, etc. After I set up the masterful following a shoot, I go to LR and import the images. At one time I inadvertently imported the NERI_RAW_2013 masterful set as a subset of something else and it was not appearing in my LR Module in the organization I prefer. So I went to my master folders on my drive and moved the NERI file into the West Virginia state folder. When I went back to LR, as expected the NERI folder was grey with a question mark. So I right clicked to find the files and relink, and it did not work. The folder name disappeared. The RAW files are still in the catalog and show up in a missing photos search. I can't reimport because they are already there. I just need to restore my folder structure and get the images back to the right spot.

    So I right clicked to find the files and relink, and it did not work. The folder name disappeared.
    It didn't disappear, it moved (because you told Lightroom to move it). It moved from the incorrect folder location, to the new folder location. Please look in the new folder, in whatever location it is in, not in the old folder and the old location, and you will find the photos.

  • I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync each phone separately

    I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync contacts separately?

    How to rename your device in iTunes

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is ident

    My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is identified as "ERROR 404" I tried a clean install of the latest version; no luck. looked at plug-ins & add-ons; no luck
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

Maybe you are looking for

  • MS 6147 max memory and disk sizes

    For the MS 6147 can anybody confirm the max Hard disk size and max memory.   It will not recognise the 40Gb HD I am trying to fit, and only recognises half of the 256Mb memeory simm I have fitted. The BIOS version is 1.9 but I think that is a 'specia

  • Feature Request: Option to Not Autohide Video Controller

    Curently, when you enable the built in video controller it will auto-hide when the cursor is not over the movie. I'd like to request you make the autohide feature a checkbox option in the Video properties area and have the video controller stay on th

  • Help me in resolving my problem

    when i try to send photo while chatting on mig33 from camera ,i get error microedition media .media exception, what is that problem as i am using 5310 music express

  • Bad Image Data Error!

    Hi, I'm doing a project for a my class doing a simple sunrise/sunset program. I've noticed that if I either create simple images in fireworks and import them, or even images form the web, I get an error message saying "Bad Image Data Error!" and all

  • Your opinion - graphical configuration consoles for JBoss & Tomcat

    Hexamind Companion for JBoss and Hexamind Companion for Apache Tomcat are tools for developers and system administrators who manage the configuration of J2EE servers. We are nearing the final stages of development, and would like to hear your opinion