Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Jobs running after disabled?


SQL Jobs running after disabled?

Author
Message
SQL Galaxy
SQL Galaxy
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1220 Visits: 3465
Hi,

SQL Jobs running after disabled, what could be issue? where should be troubleshooting?

I have done as below steps.

1. Disabled the SQL jobs. -Right click Job-> disabled

2. remove the schedule that jobs.

3. exec sp_update_job @job_name= 'myjobname', @disabled = 0

But still running jobs after done above steps. pl. suggestion me

thanks
george sibbald
george sibbald
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6334 Visits: 13687
the job could be being executed from another job or some application code.

Script out all your jobs and look for sp_start_job in the output and if necessary run profiler at the time the job runs and look for sp_start_job in the output.

---------------------------------------------------------------------
SQLAJ
SQLAJ
SSC Journeyman
SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)

Group: General Forum Members
Points: 87 Visits: 410
You mentioned you disabled the job but what does it do? Has it completed?
Are there any errors in the logs when disabled it?

______________________________
AJ Mendo | @SQLAJ
Lynn Pettis
Lynn Pettis
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24233 Visits: 37978
It could also be the job(s) are being run manually. What does the job log tell you?

Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
SQL Galaxy
SQL Galaxy
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1220 Visits: 3465
Job disabled stage run manually, it was run with as below error...

Executed as user: servername\ExpSQLAgtSvc. 16 percent processed. [SQLSTATE 01000] (Message 3211) 33 percent processed. [SQLSTATE 01000] (Message 3211) 49 percent processed. [SQLSTATE 01000] (Message 3211) 66 percent processed. [SQLSTATE 01000] (Message 3211) 75 percent processed. [SQLSTATE 01000] (Message 3211) 83 percent processed. [SQLSTATE 01000] (Message 3211) 93 percent processed. [SQLSTATE 01000] (Message 3211) Processed 688 pages for database 'EMSEvents', file 'EMSEvents_dat' on file 1. [SQLSTATE 01000] (Message 4035) Processed 32 pages for database 'EMSEvents', file 'EMSEventsIndex_dat' on file 1. [SQLSTATE 01000] (Message 4035) Processed 16 pages for database 'EMSEvents', file 'EMSTimeAndLocalTimeIdx_dat' on file 1. [SQLSTATE 01000] (Message 4035) Processed 16 pages for database 'EMSEvents', file 'EMSLocalDateAndTimeIdx_dat' on file 1. [SQLSTATE 01000] (Message 4035) Processed 16 pages for database 'EMSEvents', file 'EMSLocalDateAndTimeAndLocalTimeIdx_dat' on file 1. [SQLSTATE 01000] (Message 4035) 100 percent processed. [SQLSTATE 01000] (Message 3211) Processed 2 pages for database 'EMSEvents', file 'EMSEvents_log' on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE successfully processed 770 pages in 2.352 seconds (2.554 MB/sec). [SQLSTATE 01000] (Message 3014) An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileLoadException: Could not load file or assembly emsevents, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A) System.IO.FileLoadException: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) [SQLSTATE 42000] (Error 10314). The step failed.


msocp
msocp
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 260
did you disable in maintenance plan. if you did't disable, disable it from maintenance plan also.
SQLAJ
SQLAJ
SSC Journeyman
SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)

Group: General Forum Members
Points: 87 Visits: 410
Look at your error. There appears to be a security issue.

An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536.
The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE.
Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
System.IO.FileLoadException: Could not load file or assembly emsevents, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. An error relating to security occurred.


Are you sure you disable the "Job" and not a "Step" in the job? I would suggest scripting out the job to a new window. Saving and then dropping the job. Then if another job is calling that one it will fail.

______________________________
AJ Mendo | @SQLAJ
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search