All error messages with an error number of 50000 or higher are user defined
error messages, so I'm afraid you will have to dig in your stored procedure
code to find the source of the error. Look for RAISERROR (50001,....
"Bob leighfield" <bleighfieldhumber.demon.co.uk> wrote in message
> At work we have a stored procedure that takes selected data from a job
> record and turns it into an electronic invoice ( a text file), to be
> sent via an EDI mechanism. The file is just created and placed in a
> folder on the network.
> The extract has worked ok for 18 months but all of a sudden it has
> started failing with the following error in the grid..
> Result - use development1 set con
> Msg 50001, level 1, state 50001
> xpsql.cpp: error 5 from CreateProcess on line 675
> Lines 3 & 4 then repeat approx 300 times for this particular batch
> The error appears for any procedure that selects data in a similar
> manner so I don't think it's related to the specific stored procedure. I
> am not aware of anyone making changes to any of the database settings.
> Can anyone help?