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

SSIS package accessing 2 shares with different credentials

$
0
0

I am in need of a little advice. I can't quite wrap my mind around the issue I'm having. I'm using SSIS to do some simple file manipulation tasks and it works great when I run it manually via file system. However, when I run it with SQL Agent it says the package ran as successful, but does not move any files. 

I know the issue lies around the fact that I have a share drive mapped to a different domain on my machine. Here is the proverbial monkey wrench. I am running proxy credentials so that the package can manipulate files on the current domain. Now, since the package doesn't have access to the mapped drive, how can I allow the package to log into and use the share drive on the other domain?

Here is the basic rundown of the package:

Check Foreign domain (domainX) share for File (done.txt)
If File Exists then copy files to local domain (domainY) share
Move file on foreign domain share to foreign domain archive folder

If file doesn't exist, end package. 

I've tried it with a File System Task and Execute Process Task w/ Batch File. Both do not work. 

Thanks in advance for any help,

A.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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