Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS PACKAGE NOT FINDING CORRECT DIRECTORY

$
0
0

I have an SSIS package that takes files and moves them over to an FTP site. When I am running it inside Microsoft Visual Studio, it finds the directory that I have put in the package and moves the files to the FTP. 

But when I set up an SQL Server Agent job to automate the package to run daily, it fails because it looks for the files in the C:\Windows\System32 directory instead of the D:\MyFiles\ directory where they are located.    And because the files are not there, the package fails to run.

When running the scheduled daily SQL Server Agent job, the package should look at the location  D:\MyFiles\  directory that I built into the package just like it does when I run it in Visual Studio.  

Can anyone help?  I have worked on this two days trying to figure it out.  Any help would be greatly appreciated.

Wade


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>