Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Issue with SSIS packages not completing when run via a SQL job

Posted on 2008-06-20
4
Medium Priority
?
222 Views
Last Modified: 2013-11-26
I have created a number of SSIS packages that run fantastically through Visual Studio.  However, when I add a number of these packages into one sequential SQL job, the job never completes.  It does not error but just remains in an "executing" state when looking at the job activity monitor.  I have no clue why they would run fine when executed in VS but never complete when executed in SQL.  Not all jobs fail in SQL.  I have other jobs which contain SSIS packages which run fine in SQL so I think the configuration is alright.  I need to supply more information but don't know where to start so any assistance or request for more detail will be greatly appreciated.
0
Comment
Question by:m12white
  • 2
4 Comments
 
LVL 31

Assisted Solution

by:James Murrell
James Murrell earned 400 total points
ID: 21836692
could it be a permissions?
0
 

Author Comment

by:m12white
ID: 21838055
Unsure.  I've tried the SQL Agent under the administrators account.  No change.  It almost looks like a scheduling problem but these jobs were setup identically to a much smaller server running sql 2000 that ran this consolidated schedule just fine (albeit slowly).  This server is a new and very powerful unit that I wouldn't expect to have problems with jobs running simultaneously.
0
 
LVL 30

Assisted Solution

by:nmcdermaid
nmcdermaid earned 100 total points
ID: 21843358
>> need to supply more information

Turn on logging for the package(s) and see where its getting stuck.

If I recall correctly, you need to specifically create a logging connection manager and use that.
0
 

Accepted Solution

by:
m12white earned 0 total points
ID: 21843364
I think I've found it.  Sorry...but thanks for the help.  Apparently, my use of a query multiple times was causing the issue.  I'm new to SSIS so I finallly figured out that I needed, and could, multicast that dataset to the areas needed.  This appears to have cleared up my stalling jobs. I'm still not sure if this was a locking problem or other but it appears to be working.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

885 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