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.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
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
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?
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?

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Vitor MontalvãoMSSQL Senior EngineerCommented:
You can change the configuration when you put a package to run in SQL Server Agent.
Alpesh PatelAssistant ConsultantCommented:
EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
please start from reading

SSIS Catalog

< 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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.