Solved

SSIS Deployment Problems Access denied

Posted on 2012-03-29
7
330 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:
huslayer earned 500 total points
Comment Utility
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
Comment Utility
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:huslayer
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:chtullu135
Comment Utility
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
Comment Utility
The problem was resolved by using the file UNC file path
0
 

Author Closing Comment

by:chtullu135
Comment Utility
Your advice put me on course
0
 
LVL 21

Expert Comment

by:huslayer
Comment Utility
Thanks for the grade and points, glad that you fixed your problem.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

6 Experts available now in Live!

Get 1:1 Help Now