Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

860 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