Solved

SQL Job just spins when trying to execute SSIS  package that executes a process

Posted on 2013-06-24
3
366 Views
Last Modified: 2016-02-11
Hi,

I have an SSIS package that runs fine from the Visual Studio development environment.  However when I upload it to the package store and try to run it from a job the job just runs and runs and runs and runs (I've lost patience at about 20 mins) and never does anything.  I know it doesn't do anything because the first step is to run a batch file that downloads some files from an FTP server.  Those files never show up.  I've tried running the package in VS as the account that the SQL server Agent uses and it runs fine.  I've tried running the batch file while logged into the box that the SQL server agent uses and no problems there either.  So permissions don't seem to be the issue.  Since it never errors out I can't tell why it never does anything and if I put a short timeout it could only tell me it timed out.

Any help here would be great.  I can't seem to figure out what's going on here.
0
Comment
Question by:afacts
  • 2
3 Comments
 
LVL 16

Assisted Solution

by:Surendra Nath
Surendra Nath earned 500 total points
ID: 39273470
is the package have any parameters, then please check if the same parameters are being passed from VS  and the Job.

Enable logging on the SSIS package and check the error log, if you see some error....

Put some echo statements re-routed to a text file in the batch file and check, if the batch file is actually called (kicked) and if the batch file is called, then see at what statement it hangs up...

it actually helps to narrow down the issue.
0
 

Accepted Solution

by:
afacts earned 0 total points
ID: 39311695
Thanks, actually the problem was that it needed to run with a user with the appriopriate permissions, but thank you for the effort.
0
 

Author Closing Comment

by:afacts
ID: 39324409
Because I found the solution myself.
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
Classlful vs Classless subneting 18 62
Interface VLAN dependencies 6 34
TSQL DateADD update Question 4 29
Sql query 107 27
In this article I will describe the Detach & Attach 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 I will describe the Backup & Restore 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.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

12 Experts available now in Live!

Get 1:1 Help Now