Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Cannot Stop Job

$
0
0

 

Hi,

 

I'm running a SQL 2005 SP 2 on Windows 2003 Server R2.

 

I have a Job that includes a IS Package and then conducts a lot of calculations of which one runs into an infinite loop.

 

The problem now is, that I can't stop the job. If i try it sp_stop_job procedure returns success, but in the activity monitor the job is still running, and restart the job returns that the job is already running

(SQLServerAgent Error: Request to run job xxx refused because the job is already running... (Microsoft SQL Server, Eror: 22022)

 

It helped to restart the Server Agent, but this is not a proper solution as other user work on this database as well, so how can i kill the job without restarting the agent?

 

thanks in advance


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>