Solved

SSIS Deployment Problems Access denied

Posted on 2012-03-29
7
332 Views
Last Modified: 2012-08-13
I have 2 SSIS packages that don’t deploy correctly to the SSIS server.

One package renames the files to conform for a data import from csv files. It shows that it executes successfully but doesn't change any files, when executed from MSDB or the SQL agent. The dtsx executed from the deployed folder does work.
The second is an Import dtsx which retrieves data from csv files and loads them into a intermediary database and then executes an sp to load into the database then archives the files. The problem returned when I attempt to deploy it to the SSIS server is the connection to the database is denied.
I have tried the common SQL Authenitication client, and my network profile with windows authentication and it is denied everytime to the underlying database.
The proxy for the agent is based on my credentials (My profile is the only one that has both the SQL server and the Network rights to perform the actions).
Both packages execute properly in the development environment, and the dtsx's both execute properly.

The first completes without error, but does nothing.
The second deploys with the error that the underlying database denies access.
0
Comment
Question by:chtullu135
  • 4
  • 3
7 Comments
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 500 total points
ID: 37786795
Ok, it's obvious that it's a permission issue since the 2 packages works fine in BIDS.
You also need to differentiate between the words 'Deployed' and 'executed', deployed means attaching it to the sql server SSIS store or in the server's file system to be ready for execution.

SO where you're having trouble with deploying to the server or executing it on the server?
0
 

Author Comment

by:chtullu135
ID: 37787453
Basically the problem is that the package will not execute via the job agent but can be executed manually from the sql server.
0
 
LVL 21

Expert Comment

by:Jason Yousef, MS
ID: 37787637
ok, so now check the SERVICE ACCOUNT that the sql agent job is using, it needs to be an account that has access to the server and the files that you're connecting to.

Also make sure to restart the service after you change the account.

first try to use your account to make sure that it's the issue, then try to configure the proxy again, use this reference

http://msdn.microsoft.com/en-us/library/ms189064%28v=sql.90%29.aspx
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:chtullu135
ID: 37788013
I've verified that the service account has access to the files.  In fact the Proxy uses the same credentials as when used to execute the packages from msdb.  The files use the following naming convention.  $RFI:R:\
0
 

Author Comment

by:chtullu135
ID: 37844399
The problem was resolved by using the file UNC file path
0
 

Author Closing Comment

by:chtullu135
ID: 37857646
Your advice put me on course
0
 
LVL 21

Expert Comment

by:Jason Yousef, MS
ID: 37857652
Thanks for the grade and points, glad that you fixed your problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adventure works database .msi 4 60
Set the max value for a column 7 37
Bubble user-defined Sql RAISERROR(...) to c# exception 14 145
CREATE DATABASE ENCRYPTION KEY 1 58
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now