Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

RUNNING SSIS IN SQL SERVER AGENT GETS FILE NOT FOUND Expand / Collapse
Author
Message
Posted Tuesday, February 26, 2013 3:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, February 26, 2013 3:32 PM
Points: 1, Visits: 4
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

Post #1424268
Posted Tuesday, February 26, 2013 8:40 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 4:52 PM
Points: 7,079, Visits: 12,569
When the package runs on the server it does not have access to your drives. Does D:\MyFiles exist on the server?

If you want more help zip your SSIS package and attach it to this thread (see "Edit Attachments" button).


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1424311
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse