SQL 2014, SSIS packages, SQL Agent jobs, and security

I am new to SQL 2014 and I am bumping into issues with SSIS packages. I have a package that reads an Excel file and imports the data into a table. It runs fine on my laptop but fails to validate/run on the server due to permissions issues. The problem is... I cannot figure out the security context that the packages use on the server.

Is there a way to specify what user the packages run/validate under? Is this configurable or not? Is it different for the Validation and for running the packages on SQL Agent? Also is it possible to edit packages via SQL Mgmt Studio on the server? Right now I am using Visual Studio on my laptop and then publish them.

Thanks
Christos
criskritAsked:
Who is Participating?
 
Eugene ZCommented:
please start from reading

SSIS Catalog
https://msdn.microsoft.com/en-us/library/hh479588.aspx

< What user does it validate under?>
Please clarify?
...what login did you use to access SSMS-> SSIS Catalog? How did you set your connection string for pack: "trusted " connection or sql login?

--

 <Can I edit the SSIS package configuration via SQL Mgmt Studio?>
Depends on what do you need to change in the pack..

as per above posts: you may adjust some  ssis execution values: e.g. connection string, global variables..
in sql agent- > create a new job-. select SSIS "type" -> point to your pack location-> properties of this step - adjusts
--
SSIS Catalog is just one of the ways to store packs in sql server not for developments

http://magenic.com/BlogArchive/IntegrationServicesCataloginSQLServer2012
0
 
Eugene ZCommented:
check if sql AGENT service runs with permissions what you need;
...you may set SSIS proxi as well to run this Sql agent step
--
make sure your file connection is UNC based; \\servername\share
(also need to check this share and NTFS permissions)
--
if you need to adjust the SSIS pack connection string\values og the global vars;
you can do this from sql agent job -step properties
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Did you copy the package to the server? Or you just change the package to point to the server database?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
criskritAuthor Commented:
Hello and thanks for the replies.

My questions are a bit more generic in regards to SSIS operation:
- I launch SQL Mgmt Studio, connect to server, find the package in SSISDB and I do a "validate". What user does it validate under?
- Can I edit the SSIS package configuration via SQL Mgmt Studio? I can view the config but not edit. Is this by design or can this be enabled?

Thanks
Christos
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
You can change the configuration when you put a package to run in SQL Server Agent.
0
 
Alpesh PatelAssistant ConsultantCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.