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

Access to path denied in SSIS 2012 script task

$
0
0

Note: this applies to SQL 2012 only.

I'm using the project deployment model in SQL SSIS 2012

I have a script task inside the SSIS package that renames some files on a domain share. (\\mydomain\myfileshare)

The database owner is a domain user (mydomain\svclogin)

I start the package from a stored procedure like so:

EXEC [SSISDB].[catalog].[start_execution] @execution_id

When the package is deployed to my local machine, it executes without error.

When it is deployed to a remote server on the same domain (2012), I get an error:

Access to the path \\mydomain\myfileshare is denied.

The report log show that the caller is mydomain\svclogin. I added some informational logging of my own and I see that the variable System::UserName is also mydomain\svclogin

I logged on to windows as mydomain\svclogin and verified that I can modify/delete/change files on  \\mydomain\myfileshare

On older packages, I used credentials and proxy accounts to set up access to domain resources.

1. How do you specify the account (a domain account) that will access domain resources in an SSIS 2012 package ?
2. How do I fix the error?


John Lucas - Code Monkey


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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