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!

What's the best way to do error handling in DTS?

Status
Not open for further replies.

Nassy

Programmer
Mar 27, 2003
121
GB
Hi

I am designing a DTS package which does a simple transformation task and I want to record the following type of information on transformation errors:

[ul][li]Number of rows returned[/li] [li]Number of errors returned[/li][li]Error reason[/li]
[/ul]

I want to store this information in a table.

I am very new to things like activex scripts and have been trying to use the GetExecuteErrorInfo method of steps but I get a 'Type mismatch' error. Having researched into this I understand that there might be a workaround but it sounds too complicated to me!

To me it seems as if there is such a huge number of ways that error-handling can be achieved in DTS eg SQL code, OLE Automation, log files, Active X scripts etc and I am beginning to get quite confused. [3eyes]

Any help on this would be much appreciated:

Nassy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top