Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Execute job on remote server through T-SQL Expand / Collapse
Author
Message
Posted Friday, February 19, 2010 12:37 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 5:30 AM
Points: 568, Visits: 69,979
I am executing a job by way of: exec linkedserver.msdb..sp_start_job @job_name = 'JobName'

the job runs on the remote server but i receive the below error message on the remote server:

Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.

I am wondering if there is a way to avoid this error.
Post #869348
Posted Friday, February 19, 2010 12:39 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 5:30 AM
Points: 568, Visits: 69,979
I forgot to state that the local server is SQL Server 2000 and the remote server is SQL Server 2005 sp3 64bit.
Post #869352
Posted Thursday, February 3, 2011 9:45 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Saturday, February 23, 2013 3:16 PM
Points: 50, Visits: 57
Hey there,

I was wondering if you ever found an answer to this? I have two SQL Server 2000 SP3 (yeah I know - but there is a contractual reason for it) and I get the same error when executing sp_start_job. The job starts on the remote server, and completes OK, but the error mentioned in your post above is generated immediately and kinda breaks the logic of what we are doing.

Cheers,

Scott.
Post #1058500
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse