Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS Step Message Access 1

Status
Not open for further replies.

EdwinGene

Programmer
Sep 2, 2003
154
US
Is there a way to access error messages generated by step failures in DTS? For example, I can make the FTP step fail by giving the wrong password and an error message will pop up saying Unable To Connect. Is there any way to access this error message, say in an ActiveX Script task so it can be inserted into a log file? I'm only interested in exception messages, success or connect or other mudane messages are not relevent.

Thanks in advance.
 
Thanks, but I'm really looking for a non-VB way to access detailed error messages in the DTS package, itself? Like with an ActiveX Script Task. Is it possible to access detailed error messages that way?
 
Unfortunately not. VBScript or JScript do not allow you to retrieve the GetExecutionErrorInfo. You need to have a DLL application to get at the GetExecutionErrorInfo.

There are several books written for DTS that discuss this topic. One that I would recommend is "Professional SQL Server 2000 DTS" Wrox ISBN 1-861004-41-9. This book has a full chapter on Error Handling.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top