Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > sqlserver server > june 2009 >

sqlserver server : Job Fail.



mona
6/28/2004 10:43:08 PM
Hi,

I have a job that reads from server A and writes the data
in server B. The job is scheduled to run every 5 min. Now
and again, the job fails and I get the following
message: "Incorrect function. [SQLSTATE 42000] (Error
50000). The step failed." but everything is OK for the
next run.
Is it a network problem (between the servers), a server
problem, a Windows problem? I will appreciate any help on
that.
mona
6/29/2004 1:54:31 AM
I specified an output file and waiting for the next
failure. The error message in my first mail is from
the "view Job History".
How come there is no error number 50000 in the
master.dbo.sysmessages?

[quoted text, click to view]
Tibor Karaszi
6/29/2004 8:19:29 AM
Specify an output file for the jobstep and then after next execution look in that file for error
messages. Also, try View Job History, check "Show Step Details", navigate to the failed jobstep and
hunt for error messages.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/


[quoted text, click to view]

Tibor Karaszi
6/29/2004 12:07:23 PM
Ahh, I missed that error number. Error 50000 is what you get if you execute RAISERROR and pass a
string. So you have to look at your code and see what part executes the RAISERROR command. Remember
that is can be hidden in a trigger or stored procedure.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/


[quoted text, click to view]

Innocent Gumbo
6/26/2009 12:26:13 AM
I am having the error after the job has failed to execute:

Executed as user: dbo. prc_Main_Day_End_Process failed because a previous run was unsuccessful [SQLSTATE 42000] (Error 50000) Source: CDO.Message.1 [SQLSTATE 01000] (Error 0) Description: The transport failed to connect to the server. [SQLSTATE 01000] (Error 0). The step failed.

From http://www.google.co.za/search?q=[SQLSTATE+42000]+(Error+50000)&hl=en&start=10&sa=N

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button