SSIS Export job works randomly

Posted on 2010-09-09
Last Modified: 2012-09-09
I have an SSIS export package used as a step in a job.  The job is called up through a stored procedure.  The job completes the first step (gather required data) and then fails 75% or more of the time on the export step.  In the app log the failure is listed as event 12291.  Package "xxx" failed.   The failure email notifications state that the export step was the last step to run.  

I would better understand the problem if it failed all the time.. but it just fails most of the time.  I'd like it to export the data 100% of the time as this is part of a complex setup I've established so that users can obtain these results.
Question by:rgolenor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 43

Expert Comment

by:Eugene Z
ID: 33640981
check your SSIS design:
see if it is your case:
" UNC versus mapped drives!
The manual process uses your credentials, which has a mapped drive reference.  The job uses the SQL Server Agent account, which does not"

Author Comment

ID: 33641920
I am using a direct path ( E:\data\results ) so I not sure that the above applies.
LVL 43

Expert Comment

by:Eugene Z
ID: 33643030
where is the" E:\data\results" on your PC or on sql server?
can you try UNC path like \\yourserver\ShareWithSqlServerServiceAccountOrSqlAgentProxiAccountAccessPermissions?
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 33647952
The  (E:\data\results) is on the sql server ... I tried the \\server\data\results  and it fails 100% of the time.
LVL 43

Expert Comment

by:Eugene Z
ID: 33649808
does sql service (sql agent ) account has Share\NTFS permissions on the \\server\data\results? Read\write?
if you login on the box as sql server service NT account - can you run the SSIS? What errors did you get?the same one?

Accepted Solution

rgolenor earned 0 total points
ID: 33725637
I'm still not sure what to make of this... I've resolved it (sort of) by setting the retry on the step to 5 and the export fails (exports a blank file) typically and then will export the file with results on one of the retries.  Very odd.  Btw, all the share/security settings allow for access to the export folder.  

Author Closing Comment

ID: 38380557
It worked

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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