title: SSIS package can't access directory when run on SQL Server
body: <p>I am running a SSIS package which includes a script to check if a file exists. </p>
  
  <p>When I run this in Visual Studio under my Windows credentials, it works fine and can find the file within the directory and has access.</p>
  
  <p>When I deploy the package on to SQL Server and run it (still under my windows credentials, I even printed them in a log message within the script), it doesn't have access to the directory.</p>
  
  <p>Note: I am not running this within an agent job, I am directly running it under the integration service package within SQL Server Management Studio.</p>
  
  <p>Edit: The database is held on a remote server, which when I log into that server and use management studio there it all works fine. If I connect to the remote server as me on my machine however it doesn't</p>
  
  <p>Does anyone know why?</p>