Solved

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

Posted on 2013-06-24
3
367 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

16 Experts available now in Live!

Get 1:1 Help Now