Re: The DTSRun statement runs without error, yet returns ErrorLeve
- From: "Helge C. Rutz" <news050424@xxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2005 19:12:20 +0200
Hi Maxwell,
"Maxwell" wrote:
I reran the batch file after editing the DTS package to log execution to SQLServer and to write errors out to a text file. Nothing was logged to the text file and the
you mean no error was logged, didn't you? Please take a precise look at the logfile.
There can be a strange behaviour, tellling you, that the package was executed successfully at the beginning of the log, but in the step execution list, there is an entry starting with "error on step ..." where the step was never executed.
If this is the case, dtsrun will always return 1 as errorlevel, although the package was mainly executed successfull.
If you haven't this scenario, I'm sorry, I haven't seen such behaviour before and have no further ideas in the moment.
Helge
.
- Follow-Ups:
- References:
- Prev by Date: Re: How to rename Excel Work*** using DTS
- Next by Date: Re: Stored Procedure from DTS
- Previous by thread: Re: The DTSRun statement runs without error, yet returns ErrorLeve
- Next by thread: Re: The DTSRun statement runs without error, yet returns ErrorLeve
- Index(es):