Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello all,
I am facing a problem in running an SQL Job. it is working correctly in the test server but not working in the Live.

i have attached the details of the history obtained when executed once.

Date		12/17/2012 2:00:00 PM
Log		Job History (AC_Admin_Resend_Notification)

Step ID		0
Server		SCHEDULER
Job Name		AC_Admin_Resend_Notification
Step Name		(Job outcome)
Duration		29.11:31:44
Sql Severity		0
Sql Message ID		0
Operator Emailed		
Operator Net sent		
Operator Paged		
Retries Attempted		0

Message
The job was stopped prior to completion by User SCHEDULER\acserver.  The Job was invoked by Schedule 9 (Admin_Resend_Every_Minute).  The last step to run was step 1 (Admin_Resend)
.

Some one pleas help me.
Thank You
Sijo
Posted
Updated 18-Jan-13 0:08am
v2
Comments
dan!sh 18-Jan-13 2:49am    
Who is that user mentioned in the message?
sijo 2 18-Jan-13 3:09am    
That is me only. i am logging in to the machine through that user.

1 solution

Hi,

Have you tried running the code in the job on the test server under that user? It could be a rights issue. Try running each step separately to make it easier to identify where the error lies.
 
Share this answer
 
Comments
sijo 2 20-Jan-13 23:34pm    
Hi milenalukic,
There is only one step for this job. the error shown with that is shown below.

Step Name Admin_Resend
Duration 29.11:31:44
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0

Message
Executed as user: SCHEDULER\SYSTEM. The step was cancelled (stopped) as the result of a stop job request.

Thank you very much for your time.
please give me some way to solve this out.
Thank you
milenalukic 21-Jan-13 6:14am    
Does the code behind the step/job run from SQL management studio?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900