title: Flat File Connection Manager in SSIS package shows "Valid File Name Must be Selected"
body: <pre>
                        (Flat File Location)
                      Samba Share | Windows Share
  (SSIS)           _______________________________
                  |               |
  XP 32bit        |  Works        |  Works
                  |               |
  2003 Serv 32bit |  Works        |  Works
                  |               |
  Vista 64bit     |  ERROR        |  Works
                  |               |
  Win 7 64bit     |  ERROR        |  Works 
                  |               |
  2008 Serv 64bit |  ERROR        |  Works
  </pre>
  
  <hr>
  
  <p>I created an SSIS package in VS 2008 that parses a flat file from a shared folder and puts the records into a SQL Server db.</p>
  
  <p>I recently installed Windows 7 and VS 2008 on a new workstation.  When I import the package from TFS and open it, I get the error</p>
  
  <blockquote>
    <p>Validation error. Parse and Import
    Catalog Flat File: MySSISPackage: The
    file name "\\shared\flatfile.txt"
    specified in the connection was not
    valid.</p>
  </blockquote>
  
  <p>When I open the Flat File Connection Manager Editor, there is an error stating:</p>
  
  <blockquote>
    <p>A valid file name must be selected</p>
  </blockquote>
  
  <p>I can browse to and select the file from inside the editor, but I cannot change any properties, or move away from the General tab because of this error.</p>
  
  <p>If I go back to my laptop (Windows XP), where the package was first created, there is no error.  Both workstations are on the same domain, and I'm logging in using the same credentials.</p>
  
  <p>Any ideas as to why I would receive this error from one workstation and not another?</p>
  
  <hr>
  
  <p><strong>UPDATE</strong>:
  If I take the .dtsx package from the running workstation and load it into SSIS on the server, I get the following errors when it tries to run:</p>
  
  <blockquote>
    <p>Error: The file name "\\shared\flatfile.txt" specified in the connection was not valid.</p>
  </blockquote>
  
  <p>and...</p>
  
  <blockquote>
    <p>Error: Connection "MySSISPackage" failed validation.</p>
  </blockquote>
  
  <p>and...</p>
  
  <blockquote>
    <p>Error: The file name property is not valid.  The file name is a device or contains invalid characters.</p>
  </blockquote>
  
  <hr>
  
  <p><strong>UPDATE 2</strong>:</p>
  
  <p>a) The Shared folder I'm trying to pull the flat file from is a Samba share on a Unix box. </p>
  
  <p>b) If I access the file using SSIS on any 64-bit platform (Windows 7 64-bit, Vista 64-bit, Windows Server 2008) I get the error "A valid file name must be selected."  </p>
  
  <p>c) Accessing the file using SSIS from 32-bit environments (Windows XP 32-bit, Windows Server 2003 32-bit) there is no problem.</p>
  
  <p>d) If I move the file to a shared folder on a Windows server, 64-bit SSIS recognizes the file.</p>