473,765 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DTS Job hangs on 2nd DTS Task

I have a strange SQL Server 2000 DTS problem. I have a DTS Package
that has three tasks in it. The first task is an Execute SQL Task that
writes an entry to a log table, truncates a different table and then
writes another entry to the log table to say it's done truncating. The
second task is a Datapump task. This connects to an Oracle database
and pumps data into a SQL Server table. Then the third task is another
Execute SQL Server task that just writes to the log table saying
everything is done and inserts the time.
The problem I'm having is that when it is scheduled as a job, it will
hang after the first step. I am able to execute the package manually
from the server with no problems whatsoever. It completes in maybe 20
seconds. When scheduled as a job, it runs and runs and runs. I have
let it run for over 30 minutes and finally had to kill it. Here are
some details:
1. If I delete the first task(the first Execute SQL Task) from the
package and then schedule it as a job, it runs fine.
2. If I delete the datapump task and just have the two Execute SQL
tasks and schedule it as a job, that will run fine too.
3. It will hang whether I set the workflow to run the datapump on
completion or on success of the first task.
4. I set the owner of the job to sa.
5. I am pumping the data into a different SQL Server than the server
the job is running on. But I get the same results if I try to run it
to the SQL Server that the job runs on.

I know all of these kinds of things usually end up being some kind of
permissions thing, but I don't think it is that since it will run if
the first task is removed or if the second task is removed. I'm at a
loss, though. Any suggestions would be greatly appreciated. Thanks!

Jul 20 '05 #1
0 1681

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1090
by: Nick LP | last post by:
I have .Net 2003 EA. When I create a simple Windows Form, set a breakpoint, and run it by clicking on "Debug/Start", the debugger hangs. I then have to get out of VS 2003 .Net by using the task manager and ending the task. Can anyone help me out... I already stopped the WWW Publishing Service because it was stuck on "Starting". Any other suggestions... Thanks in advance.
3
5241
by: Selden McCabe | last post by:
Has anybody experienced this problem? I have a solution that consists of 6 or 7 projects. Every so often (2 or 3 times a week) when I click Run, everything builds seemingly OK, but then, just when I would expect the app to start, nothing happens, and the task manager shows devenv.exe sitting at 100% cpu, fixed memory (about 127 Megs), forever. The only way out is to kill it from the task list. When this happens, I can usually fix it by...
4
9023
by: Kris | last post by:
I have a Windows Service in C# talking to a serial port and using Remoting. It also uses several COM objects. On customer's computer the service will occassionally hang somewhere - the service still shows on a Task Manager list. In Services it says it is still running. However there is no way to stop it other than by rebooting the whole computer. No exception (including non-CLS) is ever generated. I added a separate System.Timers.Timer...
10
1956
by: Tomas Vera | last post by:
Hello All, I'ma having trouble getting GetCurrentProcess() to work properly. What I'm trying to accomplish is list all running processes. But my call get GetProcesses() hangs. While testing things out I found that the tiny program listed below hangs as well. Am I missing something?
3
1432
by: JTF | last post by:
Whenever I start an application from ASP.NET, the exe hangs, with Task manager showing no cpu time. Every exe I've tried hangs in the same way (notepad, cmd, ms access). What runs is a .net exe and a .bat file, but the program they start hangs! Same results with system.diagnostics.process and shell. I really need help on this one... Thanks
18
1725
by: Wiktor Zychla [C# MVP] | last post by:
Following code was supposed to sort an ArrayList of strings while keeping one "fixed" element at the last position. However, the code hangs in .NET 1.1. I think that answering these questions should be an interesting and instructive task for .NET learners: 1. why the code hangs in .NET 1.1? 2. why it does not hang in .NET 2.0? 3. why it does not hang in .NET 1.1 when you keep the "fixed" element at the first (instead of last) position:
4
1394
by: prateekbaxi | last post by:
Hi, I am developing a Multithreaded Server based Task Scheduler wich runs on the server and informs all the connected client when a particular schedule occurs to do the assigned task. Following is what I am doing to give you all an idea about the application and how I have done it I have a windows based application. This is a client which consists of
6
3383
by: Alexander Widera | last post by:
hello, if i start a program (an exe-file) with Process.Start(...) I don't have the required permissions that the programm needs (i could start the programm but the program needs special rights). So I added the StartInfo.UserName and Password to the Process. Now the program starts, but it hangs... nothing happens. In the task-manager the process is created, but it doesn't do anything - no cpu-load and no change of memory-usage. What...
0
1340
by: jeff.dyke | last post by:
I am using ftplib in some code that does exactly what you would expect. It ftp's files. Its running inside a service running on windows xp and windows 2003 servers, approximately 20 installations each installation sends between 100 and 1000 files per day. Occasionally the process will hang completely and the only way to restart the service is to kill the pythonservice.exe (via End Process in Task Manager) service and start it. I have...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.