dbTalk Databases Forums  

DTS job hangs forever, DTSRun.exe - Application Error

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS job hangs forever, DTSRun.exe - Application Error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tore
 
Posts: n/a

Default DTS job hangs forever, DTSRun.exe - Application Error - 12-21-2009 , 08:01 AM






I have sql server 2000 installed om windows 2000 server. All service-packs
are installed. I have many DTS-jobs running, and they have been running for
years.

One new DTS-job hangs. I write a log message after each task to a log table
of my application. From the log I see that the last task of the batch job is
executed, but the batch job does not close itself. On the next schedule, 24
hours later, the job does not start because it is already running (i.e.
hanging from the day before).

The job actually does what it should do during the first 10 minutes, then it
hangs undefinitely. In the event viewer I see this message:

Application popup: DTSRun.exe - Application Error : The instruction at
"0x77fcd79a" referenced memory at "0xffffffff". The memory could not be
"read". Click on OK to terminate the program

The event viewer message is timestamped and can be compared with my log
file. The event viewer message seem to appear as the batch-job finish
recalculation of an olap cube. I have many of olap-cubes that are
recalculated in various batch-jobs. There is only one that cause this
problem. This cube is fairly small compared to the others and it is hard to
see why it should cause this problem.

When I right-click and select "execute" on the olap cube symbol in the
DTS-designer it runs without any error. No message is given in the event
viewer.

How can I repair?

Regards from

Tore

Reply With Quote
  #2  
Old   
Charles Wang [MSFT]
 
Posts: n/a

Default RE: DTS job hangs forever, DTSRun.exe - Application Error - 12-21-2009 , 11:53 PM






Hi Tore,
From the error message, it is an memory access violation issue. I recommend
that you first run Performance Monitor on your Server to monitor if there
is any memory pressure on your server when you run the DTS-job. If so,
consider to optimize your DTS job to reduce workload each time or increase
memory.

If there is no memory pressure, to track the root cause of such kind of
issue, it is recommended that you contact Microsoft Customer Support
Services for dump analysis. Please be advised that contacting phone support
will be a charged call.

To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default...S;PHONENUMBERS

If you are outside the US please see http://support.microsoft.com for
regional support phone numbers.

You may want to know of our MSDN Managed Newsgroup Support Services here:
http://blogs.msdn.com/msdnts/archive...ntroduction.as
px

Appreciate your understanding on this.

Best regards,
Charles Wang

Reply With Quote
  #3  
Old   
Todd C
 
Posts: n/a

Default RE: DTS job hangs forever, DTSRun.exe - Application Error - 12-22-2009 , 07:49 AM



Tore:
I'm sure Charles knows what he's talking about, but there might be an easier
technique: "Swap-nostics"
Try one or all of the following:
*Remove the offending step(s) from the package and place them in their own
package. Where does the error happen now, if at all?
*Delete the task(s) completely. Save the package, and re-build the pieces
gradually, testing execution as you go.

HTH
--
Todd C
MCTS SQL Server 2005


"Tore" wrote:

Quote:
I have sql server 2000 installed om windows 2000 server. All service-packs
are installed. I have many DTS-jobs running, and they have been running for
years.

One new DTS-job hangs. I write a log message after each task to a log table
of my application. From the log I see that the last task of the batch job is
executed, but the batch job does not close itself. On the next schedule, 24
hours later, the job does not start because it is already running (i.e.
hanging from the day before).

The job actually does what it should do during the first 10 minutes, then it
hangs undefinitely. In the event viewer I see this message:

Application popup: DTSRun.exe - Application Error : The instruction at
"0x77fcd79a" referenced memory at "0xffffffff". The memory could not be
"read". Click on OK to terminate the program

The event viewer message is timestamped and can be compared with my log
file. The event viewer message seem to appear as the batch-job finish
recalculation of an olap cube. I have many of olap-cubes that are
recalculated in various batch-jobs. There is only one that cause this
problem. This cube is fairly small compared to the others and it is hard to
see why it should cause this problem.

When I right-click and select "execute" on the olap cube symbol in the
DTS-designer it runs without any error. No message is given in the event
viewer.

How can I repair?

Regards from

Tore

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.