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

Access To the Path is Denied

$
0
0

First, I have read through the numerous posts on this topic and now of the provided solutions have worked.  So I post my specidifc issue.

Using VSTA2008 from SQL2008 STD edition.

Using local machine for development.  I am the local and domain admin.

The path that I am denied access to is the Local C:\TEMP directory.

In BId, I now have two scripts that run.  the first script sets the file level permissions to full control under the context of the task that is being run.

The secong task performs a PGP decryption of the files.  This is were I get the error.  I can set the file permissions with out an issue, yet as soon as I caaess the same files to decrypt them, I get the error.  The error is being thrown as soon as I access the files.  The PGP decryption routine will run when attached to a windows forms project on the same machine.  This is how I was able to test and debug the code prior to adding it to the SSIS Task. 

In total the job picks up a file from an FTP site, moves it to the local machine, decrypts file, then pipes it along for further processing. The only point of failure is in the one script task.  and I am at a loss.

Let me add this in case it is relevant.  in the affected script, I reference a third party dll (bouncycastle.crypto) for the PGP encrypt/decrypt utilities.  A second code (class) file exists that performs all of the logic, and i call it from the script main() passing in the validated arguments.

If anyone has any ideas, I am open to any and all suggestions.

Thanks in advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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